
:root{--navy:#102b50;--navy2:#183e68;--gold:#e5a51b;--ink:#17283c;--muted:#6b7888;--line:#e7ebf0;--paper:#f7f9fc;--white:#fff;--green:#2e8767;--shadow:0 14px 40px rgba(16,43,80,.08)}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:15px 'DM Sans',Arial,sans-serif;line-height:1.6}a{color:var(--navy2);text-decoration:none}a:hover{color:#bd8110}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif;color:var(--navy);line-height:1.18;margin:0 0 14px}h1{font-size:clamp(2.3rem,5vw,4rem);letter-spacing:-.055em}h2{font-size:clamp(1.55rem,3vw,2.15rem);letter-spacing:-.035em}h3{font-size:1.12rem}.wrap{width:min(1160px,calc(100% - 42px));margin:auto}.topbar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.nav{height:82px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);font:800 20px Manrope;line-height:1.05;white-space:nowrap}.brand small{display:block;font:600 10px 'DM Sans';letter-spacing:.1em;color:#8a6a2b;text-transform:uppercase;margin-top:5px}.brand-mark{width:42px;height:42px;border:2px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold);font-size:13px}.brand-pa{color:var(--gold)}.navlinks{display:flex;gap:25px;margin-left:auto}.navlinks a,.nav-actions>a{font-size:13px;font-weight:700;color:#405269}.nav-actions{display:flex;align-items:center;gap:14px}.menu-toggle{display:none;background:none;border:0;font-size:24px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--navy);color:#fff!important;border:1px solid var(--navy);border-radius:8px;padding:12px 19px;font-weight:700;font-size:13px;cursor:pointer;transition:.2s}.btn:hover{background:#234c78;transform:translateY(-1px)}.btn-small{padding:8px 12px;font-size:12px}.btn-outline{background:#fff;color:var(--navy)!important}.btn-ghost{background:#fff;color:var(--navy)!important;border-color:#d9e0e8}.btn-light{background:#fff;color:var(--navy)!important;border-color:#fff}.btn-wide{width:100%;margin-top:8px}.main{min-height:65vh;padding-top:25px;padding-bottom:75px}.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center;padding:62px 0 46px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#b17a11;text-transform:uppercase;display:block;margin-bottom:15px}.hero h1{max-width:590px}.hero h1 em{font-style:normal;color:#c48a19}.hero-copy>p{font-size:17px;color:#647287;max-width:510px;line-height:1.75;margin:20px 0 26px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-note{margin-top:22px;color:#8893a0;font-size:12px}.hero-art{height:365px;position:relative;background:linear-gradient(140deg,#f7f1e4,#eef3f7);border-radius:28px;overflow:hidden}.art-circle{position:absolute;width:270px;height:270px;border-radius:50%;background:#e8bd59;opacity:.26;left:50%;top:48%;transform:translate(-50%,-50%)}.art-card{position:absolute;background:#fff;border:1px solid rgba(16,43,80,.07);border-radius:14px;padding:16px 18px;box-shadow:var(--shadow);display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:center;min-width:210px}.art-card span{grid-row:span 2;font-size:25px}.art-card b{font-size:13px;color:var(--navy)}.art-card small{font-size:10px;color:var(--muted)}.card-one{top:47px;left:30px}.card-two{top:154px;right:20px}.card-three{bottom:42px;left:58px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:15px 0 75px}.stat{padding:20px 22px;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;grid-template-columns:32px 1fr;align-items:center;column-gap:8px}.stat>span{grid-row:span 2;font-size:23px}.stat strong{font:800 24px Manrope;color:var(--navy)}.stat small{font-size:11px;color:var(--muted)}.section-head{display:flex;align-items:end;justify-content:space-between;margin:0 0 22px}.section-head p,.page-heading p{margin:0;color:var(--muted)}.section-head .eyebrow{margin-bottom:8px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0 70px}.feature{border:1px solid var(--line);border-radius:13px;padding:23px 21px;background:#fff;transition:.2s;display:block}.feature:hover{box-shadow:var(--shadow);transform:translateY(-3px);border-color:#d8c18e}.feature-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f8f0df;font-size:21px;margin-bottom:18px}.feature h3{margin-bottom:9px}.feature p{font-size:13px;color:var(--muted);min-height:60px;margin:0 0 14px}.feature b{font-size:12px;color:#9a6b13}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin:30px 0 65px}.compact{align-items:center;margin-bottom:14px}.compact h2{font-size:1.45rem;margin:0}.compact .eyebrow{margin-bottom:5px}.compact>a{font-size:12px;font-weight:700}.topic-row,.event-row,.forum-row{display:flex;align-items:center;gap:14px;padding:15px 4px;border-bottom:1px solid var(--line);color:var(--ink)}.topic-row>span:nth-child(2),.event-row>span:nth-child(2){flex:1}.topic-row b,.event-row b{display:block;font-size:13px;color:var(--navy)}.topic-row small,.event-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.topic-bubble{width:36px;height:36px;background:#f2f4f7;border-radius:10px;display:grid;place-items:center}.date-tile{width:48px;height:52px;border-radius:9px;background:#fbf4e4;display:grid;place-content:center;text-align:center;color:#9c6c11}.date-tile b{font:800 19px Manrope}.date-tile small{font-size:10px;text-transform:uppercase}.cta-band{background:var(--navy);color:#fff;border-radius:18px;padding:34px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta-band h2{color:#fff;margin:0 0 8px}.cta-band p{color:#c2d0df;margin:0}.cta-band .eyebrow{color:#efc66e}.page-heading{padding:42px 0 27px}.page-heading h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:12px}.page-heading>a:not(.btn){font-size:13px}.heading-actions{margin-top:20px}.forum-group{margin:22px 0 34px;border:1px solid var(--line);border-radius:13px;padding:20px 23px}.forum-group h2{font-size:1.25rem;margin:0 0 8px}.forum-group>p{color:var(--muted);font-size:13px}.forum-row{padding:14px 0}.forum-icon{width:37px;height:37px;border-radius:10px;background:#f4f5f7;display:grid;place-items:center}.forum-info{flex:1}.forum-info b{display:block;color:var(--navy);font-size:14px}.forum-info small{display:block;color:var(--muted);font-size:11px}.forum-count{text-align:center;color:var(--navy);font-weight:700;font-size:13px}.forum-count small{display:block;color:var(--muted);font-weight:400;font-size:10px}.form-card{width:min(510px,100%);margin:35px auto;padding:34px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.form-card.wide{width:min(760px,100%)}.form-card h1{font-size:2.2rem}.form-card>p{color:var(--muted)}form label{display:block;font-size:12px;font-weight:700;color:#42546a;margin:16px 0}input,select,textarea{display:block;width:100%;padding:12px 13px;margin-top:7px;border:1px solid #dce2e9;border-radius:8px;background:#fff;color:var(--ink);font:14px 'DM Sans';outline:none}input:focus,select:focus,textarea:focus{border-color:#bd8a25;box-shadow:0 0 0 3px rgba(229,165,27,.12)}textarea{resize:vertical}.muted{font-size:12px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.alert{padding:12px 15px;border-radius:8px;margin:14px 0;font-size:13px}.alert.error{background:#fff0ef;color:#9b322a}.alert.success{background:#eaf7ef;color:#246b45}.alert.info{background:#edf4fb;color:#28577d}.empty{padding:22px;background:#f8fafc;border:1px dashed #d7dfe8;border-radius:10px;color:var(--muted);font-size:13px;margin:16px 0}.topic-detail,.reply,.list-card,.reply-form{border:1px solid var(--line);border-radius:12px;padding:22px;margin:15px 0;background:#fff}.topic-detail h1{font-size:2rem;margin:12px 0 20px}.topic-meta{font-size:11px;color:#8793a0}.post-body{line-height:1.8;color:#394b60;margin:18px 0}.author-line{font-size:11px;color:#8b96a2;border-top:1px solid var(--line);padding-top:12px}.reply p{font-size:14px;line-height:1.7}.reply-form{background:#f9fafb}.breadcrumbs{font-size:12px;color:var(--muted);margin:20px 0}.filter-pills{display:flex;gap:8px;overflow:auto;padding:5px 0 20px}.filter-pills a{white-space:nowrap;border:1px solid var(--line);padding:7px 12px;border-radius:30px;font-size:11px}.business-grid,.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.business-card,.article-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;color:var(--ink)}.business-placeholder{height:115px;background:#f5f2e9;display:grid;place-items:center;font-size:40px}.business-content,.article-card>div{padding:17px}.business-content small,.article-card small{font-size:10px;color:#a17419;text-transform:uppercase;font-weight:800;letter-spacing:.1em}.business-content h3,.article-card h3{margin:7px 0}.business-content p,.article-card p{font-size:12px;color:var(--muted)}.business-content>a,.article-card span{font-size:12px;font-weight:700}.event-row.large{padding:18px;border:1px solid var(--line);border-radius:10px;margin:10px 0}.article-detail{max-width:800px;margin:45px auto}.article-detail h1{font-size:2.6rem;margin:16px 0}.article-detail p{line-height:1.9;color:#46576b}.admin-strip{display:flex;align-items:center;justify-content:space-between;padding:18px;background:#f7f9fc;border-radius:12px}.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line)}th{background:#f6f8fa;color:#5c6b7b}.footer{background:#f5f7fa;border-top:1px solid var(--line);padding:35px 0}.footer-inner{display:flex;align-items:center;gap:35px;flex-wrap:wrap}.footer-inner p{font-size:12px;color:var(--muted);margin:5px 0}.footer-inner small{margin-left:auto;color:#8b96a2;font-size:10px}.footer-links{display:flex;gap:20px;font-size:12px}.install-bg{background:#f4f6f9;padding:35px 15px}.install-card{max-width:520px;margin:30px auto;background:#fff;padding:34px;border-radius:16px;box-shadow:var(--shadow)}.install-card h1{font-size:2.2rem;margin-top:25px}.install-card h3{font-size:14px;margin-top:25px}.install-card .brand{font-size:21px}.install-card .brand small{font-size:10px}.install-card .muted{margin-top:18px}
@media(max-width:900px){.nav{gap:15px}.navlinks{gap:13px}.hero{gap:25px}.feature-grid{grid-template-columns:repeat(2,1fr)}.business-grid,.article-grid{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.wrap{width:min(100% - 28px,1160px)}.nav{height:70px}.menu-toggle{display:block;margin-left:auto}.navlinks{display:none;position:absolute;left:0;right:0;top:70px;background:#fff;padding:18px 22px;border-bottom:1px solid var(--line);flex-direction:column}.navlinks.open{display:flex}.nav-actions{gap:8px}.nav-actions>a:first-child{display:none}.hero{grid-template-columns:1fr;padding:40px 0 25px}.hero-art{height:300px}.card-one{left:12px;top:32px}.card-two{right:10px;top:125px}.card-three{left:25px;bottom:25px}.art-card{min-width:190px;padding:12px}.stats-grid{grid-template-columns:repeat(2,1fr);margin-bottom:50px}.feature-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:45px}.feature{padding:16px}.feature p{min-height:85px}.two-col{grid-template-columns:1fr;gap:35px}.cta-band{padding:25px;display:block}.cta-band .btn{margin-top:18px}.business-grid,.article-grid{grid-template-columns:1fr}.admin-grid{grid-template-columns:1fr 1fr}.form-card{padding:23px}.form-grid{grid-template-columns:1fr}.footer-inner{display:block}.footer-links{margin:15px 0}.footer-inner small{display:block;margin:15px 0 0}.page-heading{padding-top:28px}}

.brand-image{width:205px;height:auto;display:block;object-fit:contain}.install-card .brand-image{width:230px}@media(max-width:680px){.brand-image{width:165px}}

/* Member profiles, moderation and responsive community media */
.profile-header{display:flex;align-items:center;gap:18px;margin:18px 0;padding:16px;background:#f7f9fc;border-radius:12px}
.profile-avatar{width:88px;height:88px;object-fit:cover;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 12px rgba(16,43,80,.14)}
.avatar-placeholder{display:grid;place-items:center;background:#e9eef4;font-size:34px}
.permission-row{display:flex!important;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}
.permission-row input{width:20px;height:20px;margin:0}
.moderation-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0;padding:12px;background:#f7f9fc;border-radius:10px}
.moderation-toolbar form{margin:0}
.moderation-form{display:flex;gap:5px;align-items:center;margin:5px 0;min-width:230px}
.moderation-form input{min-width:70px;margin:0;padding:7px}
.forum-embedded-image{display:block;max-width:min(100%,760px);width:auto;height:auto;max-height:900px;object-fit:contain;margin:16px 0;border-radius:10px;border:1px solid var(--line)}
.business-cover{display:block;width:100%;height:170px;object-fit:cover;background:#f3f5f8}
.business-gallery{display:flex;gap:7px;overflow:auto;margin:10px 0}
.business-gallery img{width:68px;height:58px;object-fit:cover;border-radius:7px}
@media(max-width:760px){.moderation-form{flex-wrap:wrap}.profile-header{align-items:flex-start}.business-cover{height:145px}}

.member-card-avatar{display:block;width:100%;height:145px;object-fit:cover;background:#edf1f5}

/* Visual calendar */
.calendar-shell{margin:26px 0 38px;background:#fff;border:1px solid #e3e9f0;border-radius:16px;overflow:hidden;box-shadow:0 12px 34px rgba(23,48,78,.07)}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;background:#f7f9fc;border-bottom:1px solid #e3e9f0}
.calendar-toolbar h2{margin:0;font-size:1.25rem}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-weekdays{background:#eef3f8;border-bottom:1px solid #dfe6ee}
.calendar-weekdays div{text-align:center;padding:12px 5px;font-size:.83rem;font-weight:700;color:#52657a}
.calendar-day{min-height:126px;padding:9px 8px;border-right:1px solid #e8edf2;border-bottom:1px solid #e8edf2;background:#fff;min-width:0}
.calendar-day:nth-child(7n){border-right:0}
.calendar-day.outside-month{background:#f8fafc;color:#a2adba}
.calendar-day-number{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;font-weight:700;font-size:.86rem;margin-bottom:7px}
.calendar-day.has-events .calendar-day-number{background:#e8f3ff;color:#1769aa}
.calendar-event{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 7px;margin:3px 0;border-radius:6px;background:#eaf5f1;color:#17634d;font-size:.72rem;line-height:1.35;text-decoration:none;border-left:3px solid #42b78b}
.calendar-event time{font-weight:700}
.calendar-more{display:block;color:#60758a;font-size:.72rem;margin:4px 2px}
.calendar-list-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px}
.calendar-list-heading h2{margin:0}
.event-date-banner{display:flex;align-items:center;gap:15px;background:#f2f7fc;padding:15px 18px;border-radius:12px;margin:18px 0}
.event-date-icon{font-size:30px}
.event-date-banner small{display:block;color:#60758a;margin-top:3px}
.rsvp-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}
.rsvp-counts>div{display:flex;flex-direction:column;align-items:center;padding:14px;border:1px solid #e2e9f0;border-radius:12px;background:#fafcff}
.rsvp-counts b{font-size:1.55rem;color:#1d4f78}
.rsvp-counts span{font-size:.82rem;color:#62758a}
.rsvp-options{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.rsvp-option{display:flex!important;align-items:center;gap:8px;padding:11px 14px;border:1px solid #dce5ee;border-radius:10px;cursor:pointer;background:#fff}
.rsvp-option:has(input:checked){border-color:#3195d2;background:#eff8ff;box-shadow:0 0 0 2px rgba(49,149,210,.1)}
.rsvp-option input{width:auto;margin:0}
.news-admin-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.news-admin-row form{margin:0}
@media(max-width:760px){
 .calendar-toolbar{padding:12px 10px}.calendar-toolbar h2{font-size:1rem}
 .calendar-weekdays div{font-size:.67rem;padding:9px 1px}
 .calendar-day{min-height:88px;padding:5px 3px}
 .calendar-day-number{width:22px;height:22px;font-size:.75rem;margin-bottom:4px}
 .calendar-event{font-size:.62rem;padding:4px 4px}
 .calendar-event time{display:none}
 .calendar-more{font-size:.6rem}
 .rsvp-options{display:grid;grid-template-columns:1fr}
}
@media(max-width:420px){.calendar-day{min-height:70px}.calendar-event{font-size:.56rem;padding:3px 2px}.calendar-weekdays div{font-size:.6rem}}
/* Site-wide motion: restrained, fast and accessible */
@keyframes obp-page-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes obp-soft-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
main.main{animation:obp-page-enter .48s ease-out both}
.btn,.feature,.business-card,.article-card,.event-row,.forum-row,.topic-row,.navlinks a,.brand-image{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,opacity .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(19,70,111,.14)}
.feature:hover,.business-card:hover,.article-card:hover,.event-row:hover,.forum-row:hover,.topic-row:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(22,54,87,.09)}
.navlinks a:hover{transform:translateY(-1px)}
.hero-art .art-card{animation:obp-soft-float 5s ease-in-out infinite}
.hero-art .card-two{animation-delay:.7s}.hero-art .card-three{animation-delay:1.3s}
.calendar-event:hover{filter:brightness(.96);transform:translateX(2px)}
.reveal-on-scroll{opacity:0;transform:translateY(12px);transition:opacity .45s ease,transform .45s ease}
.reveal-on-scroll.is-visible{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
 .reveal-on-scroll{opacity:1;transform:none}
}

.source-edit-form{min-width:210px}.source-edit-form input{min-width:180px;margin:4px 0;padding:7px;font-size:11px}.calendar-source{display:block;font-size:9px;color:#8a6b2c;padding:2px 4px}.calendar-day .calendar-source{line-height:1.2}

/* Organization-based calendar colors */
.calendar-legend{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:4px 0 14px;padding:12px 15px;background:#fff;border:1px solid #e3e9f0;border-radius:11px;color:#526174;font-size:12px}
.calendar-legend span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.legend-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#64748b}
.calendar-event.source-fire,.event-row.source-fire{--event-color:#c43d3d;--event-bg:#fff0f0;--event-ink:#922b2b}
.calendar-event.source-school,.event-row.source-school{--event-color:#2874c7;--event-bg:#edf5ff;--event-ink:#1d5594}
.calendar-event.source-library,.event-row.source-library{--event-color:#8053b8;--event-bg:#f5efff;--event-ink:#603b91}
.calendar-event.source-borough,.event-row.source-borough{--event-color:#c18a19;--event-bg:#fff8e7;--event-ink:#805a0d}
.calendar-event.source-community,.event-row.source-community{--event-color:#26966f;--event-bg:#eaf8f1;--event-ink:#17634d}
.calendar-event.source-other,.event-row.source-other{--event-color:#64748b;--event-bg:#f1f5f9;--event-ink:#475569}
.calendar-event[class*="source-"]{background:var(--event-bg);color:var(--event-ink);border-left-color:var(--event-color)}
.calendar-legend .source-fire{background:#c43d3d}.calendar-legend .source-school{background:#2874c7}.calendar-legend .source-library{background:#8053b8}.calendar-legend .source-borough{background:#c18a19}.calendar-legend .source-community{background:#26966f}
.event-row[class*="source-"]{border-left:4px solid var(--event-color);padding-left:14px;background:linear-gradient(90deg,var(--event-bg),#fff 34%)}
.event-source-badge{display:inline-block;padding:7px 11px;border-radius:7px;background:var(--event-bg);color:var(--event-ink);border-left:4px solid var(--event-color);font-size:12px;font-weight:700}


/* v0.2.8 community engagement */
.topic-engagement-actions,.reply-engagement-actions,.moderation-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}
.reply-engagement-actions{padding-top:10px;border-top:1px solid var(--line)}
.message-thread{max-width:820px;margin:0 auto 22px;display:flex;flex-direction:column;gap:12px}
.message-bubble{max-width:min(78%,680px);padding:14px 17px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(22,54,87,.05)}
.message-bubble p{margin:7px 0 0;line-height:1.65;white-space:normal;overflow-wrap:anywhere}
.message-bubble small{font-size:10px;color:var(--muted)}
.message-own{align-self:flex-end;background:#edf4fb;border-color:#d6e5f3}
.message-incoming{align-self:flex-start}
.poll-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:9px}
.poll-option input{width:auto;margin:0}
.poll-result{margin:16px 0}
.poll-result>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:7px}
.poll-result span{color:var(--muted);white-space:nowrap}
.poll-bar{height:10px;border-radius:20px;background:#edf1f5;overflow:hidden}
.poll-bar i{display:block;height:100%;background:var(--gold);border-radius:20px}
@media(max-width:640px){.message-bubble{max-width:92%}.topic-engagement-actions form{flex:1 1 auto}.topic-engagement-actions .btn{width:100%}}

/* v0.2.9 forum author cards and original-post helpful voting */
.forum-post-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:0;margin:14px 0 22px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 4px 16px rgba(22,54,87,.04)}
.forum-author-panel{background:#f5f7fa;border-right:1px solid var(--line);padding:20px 14px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:8px;min-width:0}
.forum-author-avatar{width:112px;height:112px;object-fit:cover;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 9px rgba(20,40,60,.12)}
.forum-author-avatar.avatar-placeholder{display:flex;align-items:center;justify-content:center;font-size:48px;background:#e7edf3}
.forum-author-name{font-size:17px;font-weight:800;color:var(--blue,#1769aa);overflow-wrap:anywhere}
.forum-author-role,.forum-author-rank,.forum-author-reputation{display:block;width:100%;padding:6px 8px;border-radius:6px;font-size:12px;line-height:1.3}
.forum-author-role{background:#e8f2fc;color:#245b8b;border:1px solid #c9dff2;text-transform:capitalize}
.forum-author-rank{background:#edf5ef;color:#286345;font-weight:700}
.forum-author-reputation{background:#fff7e5;color:#8a6418;font-weight:700}
.forum-post-content{min-width:0;margin:0;border:0;border-radius:0;box-shadow:none;padding:20px 22px}
.forum-post-content .post-body{margin-top:14px;line-height:1.7;overflow-wrap:anywhere}
.forum-post-content.reply{padding:20px 22px}
.forum-reply-layout{margin-left:22px}
.forum-post-content .reply-engagement-actions{margin-bottom:0}
@media(max-width:680px){.forum-post-layout{grid-template-columns:1fr}.forum-author-panel{border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:66px 1fr;grid-template-rows:auto auto auto;column-gap:12px;text-align:left;align-items:center;padding:12px}.forum-author-avatar{width:62px;height:62px;grid-row:1/4}.forum-author-name{font-size:15px}.forum-author-role,.forum-author-rank,.forum-author-reputation{width:auto;display:inline-block;padding:3px 7px;font-size:10px}.forum-author-panel{justify-items:start}.forum-reply-layout{margin-left:0}.forum-post-content,.forum-post-content.reply{padding:15px}}


/* v0.2.10 forum image sizing and horizontal overflow hardening */
html, body { max-width:100%; overflow-x:hidden; }
main.wrap { min-width:0; max-width:100%; }
.forum-post-layout, .forum-post-content, .forum-author-panel { min-width:0; max-width:100%; }
.forum-author-panel { overflow:hidden; }
img.forum-author-avatar, .forum-author-panel img {
  display:block !important; width:112px !important; min-width:112px !important;
  max-width:112px !important; height:112px !important; min-height:112px !important;
  max-height:112px !important; object-fit:cover !important; flex:0 0 112px !important;
}
.forum-author-avatar.avatar-placeholder { width:112px !important; height:112px !important; }
.forum-post-content .post-body img, .forum-post-content > p img, img.forum-embedded-image {
  display:block; width:auto !important; max-width:100% !important; height:auto !important;
  max-height:600px !important; object-fit:contain;
}
.forum-post-content .post-body, .forum-post-content p { min-width:0; overflow-wrap:anywhere; }
@media(max-width:680px) {
  img.forum-author-avatar, .forum-author-panel img { width:62px !important; min-width:62px !important; max-width:62px !important; height:62px !important; min-height:62px !important; max-height:62px !important; flex-basis:62px !important; }
  .forum-author-avatar.avatar-placeholder { width:62px !important; height:62px !important; }
  .forum-post-content .post-body img, .forum-post-content > p img, img.forum-embedded-image { max-height:420px !important; }
}

/* v0.2.11 expanded business directory and reviews */
.business-search{display:flex;gap:10px;align-items:center;margin:0 0 18px}.business-search input{margin:0;flex:1}.business-card-expanded .business-cover{height:180px}.business-rating{display:flex;align-items:center;gap:8px;color:#a87513;font-weight:800;margin:6px 0 10px}.business-rating small{color:#778395;font-weight:500}.business-rating.large{font-size:18px}.business-profile-cover{display:block;width:100%;max-height:310px;object-fit:cover;border-radius:12px;margin:20px 0}.business-profile-heading{margin:18px 0}.business-profile-heading h1{font-size:clamp(2rem,4vw,3rem)}.verified-business{display:inline-block;vertical-align:middle;font:700 12px 'DM Sans';letter-spacing:0;background:#e8f6ee;color:#20734a;border-radius:20px;padding:6px 10px}.business-section{border-top:1px solid var(--line);padding-top:25px;margin-top:28px}.business-section h2{font-size:1.45rem}.business-hours-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 25px}.business-hours-grid>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}.business-hours-grid b{font-size:12px}.business-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.business-service,.business-offer{border:1px solid var(--line);border-radius:10px;padding:15px}.business-service p,.business-offer p{font-size:13px;color:var(--muted);margin:7px 0}.business-service small,.business-offer strong{color:#9b6d13}.business-rating-summary{display:flex;align-items:center;gap:14px;background:#faf7ef;padding:16px;border-radius:12px;margin:15px 0}.business-rating-summary strong{font-size:32px;color:var(--navy)}.business-rating-summary span,.review-stars{color:#c18a19}.business-rating-summary small{color:var(--muted)}.business-review-form{background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:18px;margin:20px 0}.business-review-form h3{margin-bottom:8px}.business-review{border-bottom:1px solid var(--line);padding:20px 0}.business-review-author{display:flex;align-items:center;gap:10px}.business-review-author img,.business-review-author .avatar-placeholder{width:42px;height:42px;border-radius:50%;object-fit:cover}.business-review-author>div{flex:1}.business-review-author small{display:block;color:var(--muted);font-size:11px}.review-stars{font-size:16px}.business-review>p{line-height:1.7}.owner-response{margin:12px 0 12px 22px;padding:12px 15px;background:#f4f7fa;border-left:3px solid var(--gold);border-radius:5px}.owner-response p{margin:5px 0;font-size:13px}.review-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.review-actions>span{font-size:12px;color:var(--muted);margin-right:auto}.review-actions form{margin:0}.review-actions textarea{min-width:220px}.business-owner-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.business-hour-edit{align-items:end;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.business-hour-edit b{align-self:center}.business-hour-edit label{margin:6px 0}.business-hour-edit input[type=checkbox]{width:auto;display:inline-block}.business-offer{margin:12px 0;background:#fffaf0}
@media(max-width:760px){.business-search{align-items:stretch;flex-direction:column}.business-hours-grid,.business-service-grid{grid-template-columns:1fr}.business-rating-summary{align-items:flex-start;flex-direction:column;gap:4px}.business-hour-edit{grid-template-columns:1fr 1fr}.business-hour-edit>b{grid-column:1/-1}.business-review-author{flex-wrap:wrap}.review-actions{align-items:flex-start}.business-profile-cover{max-height:190px}}
.business-open-status{display:inline-block;vertical-align:middle;padding:5px 9px;border-radius:20px;background:#f1f3f6;color:#687588;font:700 11px 'DM Sans';letter-spacing:0}.business-open-status.is-open{background:#e8f6ee;color:#20734a}
