/* XFartura v370: leitura operacional, perfil publico e publicacoes. */
.store-dashboard{display:grid;gap:14px;margin-bottom:14px;padding:18px;border:1px solid #263445;border-radius:8px;color:#f8fafc;background:#111827;box-shadow:0 14px 34px rgba(15,23,42,.16)}
.store-dashboard-head,.store-chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.store-dashboard-head small{color:#9fb0c3;font-size:.72rem;font-weight:900;text-transform:uppercase}.store-dashboard-head h2{margin:3px 0 0;font-size:1.25rem;letter-spacing:0}
.store-dashboard-status{padding:6px 9px;border-radius:999px;background:#3b4553;color:#e2e8f0;font-size:.72rem;font-weight:950}.store-dashboard-status.is-open{background:#143d2a;color:#7ce4a7}.store-dashboard-status.is-closed{background:#4b2730;color:#fecdd3}
.store-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.store-kpi{display:grid;gap:4px;min-height:92px;padding:12px;border:1px solid #2a3748;border-radius:8px;background:#182231}.store-kpi small,.store-kpi span{color:#9fb0c3;font-size:.7rem;font-weight:800}.store-kpi b{font-size:1.18rem;color:#fff;overflow-wrap:anywhere}
.store-dashboard-detail{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,.7fr);gap:10px}.store-sales-chart,.store-dashboard-quick{padding:12px;border:1px solid #2a3748;border-radius:8px;background:#182231}.store-chart-head span{color:#64d8e7;font-weight:950}
.store-chart-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:7px;height:118px;margin-top:10px}.store-chart-bars>span{display:grid;height:100%;grid-template-rows:minmax(0,1fr) auto;align-items:end;gap:5px;text-align:center}.store-chart-bars i{display:block;width:100%;height:var(--bar);min-height:4px;border-radius:4px 4px 2px 2px;background:#3fc4dd}.store-chart-bars small{color:#91a4b8;font-size:.62rem;text-transform:capitalize}
.store-dashboard-quick{display:grid;gap:7px}.store-dashboard-quick>span{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #2a3748}.store-dashboard-quick>span:last-child{border-bottom:0}.store-dashboard-quick b{font-size:1.05rem}.store-dashboard-quick small{color:#9fb0c3;text-align:right}
.store-admin-card{padding:0;overflow:hidden}.store-admin-card>.store-status-head{padding:14px 16px;border-bottom:1px solid var(--xf-line);background:#fff}.store-status-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.store-status-actions>a,.store-status-actions>button{min-height:38px;padding:8px 11px}.store-editor{padding:16px}.store-section-card{border:0!important;border-top:1px solid var(--xf-line)!important;border-radius:0!important;padding:16px 0!important;background:transparent!important;box-shadow:none!important}.store-section-title{margin-bottom:12px}

.public-profile-hero{overflow:hidden;border:1px solid var(--xf-line);background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.07)}.public-profile-cover{min-height:220px;background:#e9eef2}.public-profile-cover img{height:clamp(220px,34vw,360px);object-fit:cover;filter:none!important}.public-profile-cover::after{background:linear-gradient(180deg,transparent 68%,rgba(15,23,42,.18))!important}
.public-profile-info{position:relative;grid-template-columns:82px minmax(0,1fr);padding:0 20px}.public-profile-avatar{width:82px;height:82px;margin-top:-42px;border:4px solid #fff;border-radius:50%;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.14)}.public-profile-avatar img{border-radius:50%;filter:none!important}.public-profile-info h2{font-size:1.4rem}.public-profile-info p{max-width:720px;line-height:1.5}.public-profile-ref{padding:0 20px}
.public-profile-metrics{grid-template-columns:repeat(5,minmax(0,1fr));padding:4px 20px 18px}.public-profile-metrics article{min-height:72px;border:0;border-right:1px solid var(--xf-line);border-radius:0;padding:10px 12px;text-align:center}.public-profile-metrics article:last-child{border-right:0}
.public-profile-dashboard{display:grid;gap:13px;margin:14px 0;padding:16px;border:1px solid var(--xf-line);border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.055)}.public-profile-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.public-profile-dashboard-head small{color:var(--xf-muted);font-size:.72rem;font-weight:900;text-transform:uppercase}.public-profile-dashboard-head h3{margin:3px 0 0;font-size:1.08rem}
.public-profile-engagement{display:grid;width:72px;height:72px;place-items:center;border-radius:50%;background:conic-gradient(var(--xf-orange) var(--engagement),#eef2f5 0);position:relative}.public-profile-engagement::after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.public-profile-engagement b,.public-profile-engagement span{position:relative;z-index:1;grid-area:1/1}.public-profile-engagement b{margin-top:-8px;font-size:.88rem}.public-profile-engagement span{margin-top:18px;color:var(--xf-muted);font-size:.55rem;font-weight:850}
.public-role-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.public-role-stats article{display:grid;gap:4px;min-height:72px;padding:11px;border:1px solid var(--xf-line);border-radius:8px;background:#f8fafc}.public-role-stats small{color:var(--xf-muted);font-size:.7rem;font-weight:850}.public-role-stats b{font-size:1.05rem}
.public-activity-chart{display:grid;gap:8px}.public-activity-chart>span{display:grid;grid-template-columns:86px minmax(0,1fr) 34px;align-items:center;gap:8px}.public-activity-chart small{color:#475569;font-size:.7rem;font-weight:850}.public-activity-chart i{height:7px;overflow:hidden;border-radius:999px;background:#edf1f4}.public-activity-chart i b{display:block;width:var(--activity);height:100%;border-radius:inherit;background:#27b6c7}.public-activity-chart em{font-style:normal;text-align:right;font-size:.72rem;font-weight:900}.panel.stack:has(> .public-profile-insights){display:none}.public-moments-band{border:0;border-radius:0;padding:4px 0 12px;background:transparent;box-shadow:none}.public-profile-publications-head{padding:0 2px}

.ad-feed-grid,.social-feed-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));align-items:start;gap:16px}.ad-post-card:not(.local-opportunity-card){border-radius:8px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.07)}.ad-post-card .ad-post-stage{display:grid!important;grid-template-areas:"head" "media" "featured";aspect-ratio:auto!important;min-height:0!important;max-height:none!important;background:#fff!important}
.ad-post-card .ad-post-head{position:static!important;grid-area:head;display:grid!important;padding:12px 14px!important;color:var(--xf-ink)!important;background:#fff!important;text-shadow:none!important}.ad-post-card .ad-post-head span,.ad-post-card .ad-author-link{color:#64748b!important}.ad-post-card .ad-post-head b{color:var(--xf-ink)!important}.ad-post-card .ad-post-audience{color:#b33a10!important;background:#fff0e8!important;border-color:#ffd1bc!important}
.ad-post-card .ad-post-media-wrap{grid-area:media;position:relative!important}.ad-post-card .ad-post-media-shell{aspect-ratio:4/3;min-height:0!important;background:#edf1f4}.ad-post-card .ad-post-media,.ad-post-card .ad-post-carousel{filter:none!important;mix-blend-mode:normal!important}.ad-post-card .ad-post-media{object-fit:cover}
.ad-post-card .ad-post-featured-copy{position:static!important;grid-area:featured;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:11px 14px!important;color:var(--xf-ink)!important;background:#fff!important;text-shadow:none!important}.ad-post-card .ad-post-featured-copy h3{margin:0;font-size:1.02rem;color:var(--xf-ink)!important}
.ad-post-card>.ad-post-actions{grid-template-columns:repeat(5,minmax(42px,1fr));padding:7px 12px;background:#fff;border-top:1px solid var(--xf-line)}.ad-post-card>.ad-post-actions button{min-height:38px;border-radius:7px;color:#334155;background:transparent}.ad-post-card>.ad-post-actions button span{font-size:1.12rem}.ad-post-card>.ad-post-actions button.active{color:var(--xf-orange);background:#fff3ed}.ad-post-card:not(.local-opportunity-card) .ad-post-body{padding:12px 14px 15px}.ad-post-follow-actions{display:flex;flex-wrap:wrap;gap:6px}.ad-post-follow-actions .ghost-btn{min-height:34px;padding:7px 9px;font-size:.73rem}

@media(max-width:820px){.store-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-dashboard-detail{grid-template-columns:1fr}.public-profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.public-profile-metrics article{border-right:0;border-bottom:1px solid var(--xf-line)}}
@media(max-width:560px){.store-dashboard{padding:13px;gap:10px}.store-kpi{min-height:82px;padding:10px}.store-kpi b{font-size:1rem}.store-status-head{align-items:stretch!important}.store-status-actions{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.store-status-actions>a,.store-status-actions>button{flex:0 0 auto;white-space:nowrap}.store-editor{padding:12px}.public-profile-cover{min-height:170px}.public-profile-cover img{height:190px}.public-profile-info{grid-template-columns:64px minmax(0,1fr);padding:0 13px}.public-profile-avatar{width:64px;height:64px;margin-top:-32px}.public-profile-info h2{font-size:1.15rem}.public-profile-info p{font-size:.82rem}.public-profile-ref,.public-profile-metrics{padding-right:13px;padding-left:13px}.public-profile-ref{align-items:stretch;flex-direction:column}.public-profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.public-profile-metrics article{min-height:64px;padding:8px 5px}.public-profile-metrics b{font-size:.92rem}.public-profile-metrics span{font-size:.62rem}.public-profile-dashboard{padding:12px}.public-profile-engagement{width:64px;height:64px}.public-role-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.public-role-stats article{min-height:64px;padding:8px}.public-role-stats b{font-size:.9rem}.public-activity-chart>span{grid-template-columns:72px minmax(0,1fr) 28px}.ad-feed-grid,.social-feed-grid{grid-template-columns:minmax(0,1fr);gap:11px}.ad-post-card:not(.local-opportunity-card){border-right:0;border-left:0}.ad-post-card .ad-post-media-shell{aspect-ratio:1/1}.ad-post-card .ad-post-featured-copy{align-items:flex-start!important;flex-direction:column!important}}
