/* css/insights.css — PULSE Professional Insights */
.ins-page { padding-bottom: 96px; background: var(--background); }
@media (min-width: 768px) { body:not(.mobile-sim) .ins-page { padding-bottom: 48px; } }

.ins-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px 10px;
}
.ins-hero-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ins-hero-name { display: flex; align-items: center; gap: 5px; font-family: var(--ds-font-display); font-weight: 800; font-size: 16px; color: var(--foreground); min-width: 0; }
.ins-hero-sub { font-size: 12.5px; color: var(--muted-foreground); margin-top: 1px; }
.ins-hero-acts { display: flex; align-items: center; gap: 6px; }
.ins-range button { padding: 6px 12px; font-size: 12.5px; }

.ins-tabs-wrap {
  position: sticky; top: 0; z-index: 12;
  background: color-mix(in srgb, var(--background) 92%, transparent);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 767px) { .ins-tabs-wrap { top: 0; } }
.ins-tabs { border-bottom: 0 !important; }

.ins-body { padding: 4px 0 8px; }
.ins-sec { padding: 12px 16px 0; }
.ins-sec > .ds-section-head { padding-left: 0; padding-right: 0; }

/* KPI cards */
.ins-kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ins-kpi-grid > .ins-kpi:last-child:nth-child(odd) { grid-column: span 2; }
.ins-kpi-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ins-kpi-grid.is-3 > .ins-kpi:last-child:nth-child(odd) { grid-column: auto; }
@media (max-width: 480px) { .ins-kpi-grid.is-3 { grid-template-columns: 1fr; } }
@media (min-width: 640px) { body:not(.mobile-sim) .ins-kpi-grid:not(.is-3) { grid-template-columns: repeat(3, minmax(0, 1fr)); } body:not(.mobile-sim) .ins-kpi-grid:not(.is-3) > .ins-kpi:last-child:nth-child(odd) { grid-column: auto; } }
.ins-kpi {
  position: relative; text-align: left; padding: 12px 13px 10px;
  border-radius: 18px; border: 1px solid var(--card-border); background: var(--card);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 120ms ease, background-color 150ms ease;
  overflow: hidden; min-width: 0;
}
.ins-kpi:not(.is-static):hover { border-color: color-mix(in srgb, var(--kc) 45%, var(--card-border)); }
.ins-kpi:not(.is-static):active { transform: scale(.985); }
.ins-kpi.is-active {
  border-color: var(--kc);
  background: color-mix(in srgb, var(--kc) 7%, var(--card));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kc) 14%, transparent);
}
.ins-kpi-top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ins-kpi-ic {
  width: 26px; height: 26px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--kc) 14%, transparent); color: var(--kc);
}
.ins-kpi-ic svg { width: 15px; height: 15px; }
.ins-kpi-label { font-size: 12.5px; font-weight: 600; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ins-kpi-val { font-family: var(--ds-font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: var(--foreground); margin-top: 8px; font-variant-numeric: tabular-nums; }
.ins-kpi-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 4px; min-height: 30px; }
.ins-spark { width: 92px; height: 30px; flex-shrink: 0; }

.ins-delta {
  display: inline-flex; align-items: center; gap: 2px; height: 22px; padding: 0 7px; border-radius: 9999px;
  font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.ins-delta svg { width: 11px; height: 11px; }
.ins-delta.is-up { color: #059669; background: color-mix(in srgb, #10b981 14%, transparent); }
.ins-delta.is-down { color: #e11d48; background: color-mix(in srgb, #f43f5e 13%, transparent); }

/* Cards */
.ins-card {
  border-radius: 20px; border: 1px solid var(--card-border); background: var(--card);
  padding: 14px 14px 12px; min-width: 0;
}
.ins-card + .ins-card { margin-top: 10px; }
.ins-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ins-card-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.ins-card-kicker svg { width: 15px; height: 15px; }
.ins-card-big { font-family: var(--ds-font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.035em; color: var(--foreground); line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ins-card-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-foreground); margin-top: 3px; }
.ins-card-title { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; color: var(--foreground); margin-bottom: 12px; }
.ins-card-title svg { width: 16px; height: 16px; color: var(--muted-foreground); }
.ins-pos { color: #059669; font-weight: 700; }
.ins-neg { color: #e11d48; font-weight: 700; }
.ins-row-2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { body:not(.mobile-sim) .ins-row-2 { grid-template-columns: 1fr 1fr; } }
.ins-row-2 > .ins-card + .ins-card { margin-top: 0; }

.ins-legend { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--muted-foreground); flex-shrink: 0; }
.ins-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ins-legend i { width: 14px; height: 3px; border-radius: 3px; display: inline-block; }
.ins-legend i.is-prev { background: repeating-linear-gradient(90deg, var(--muted-foreground) 0 3px, transparent 3px 6px); opacity: .7; }

/* Chart */
.ins-chart { position: relative; width: 100%; touch-action: pan-y; }
.ins-chart-svg { width: 100%; height: 200px; display: block; overflow: visible; }
.ins-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 4; }
.ins-axis { fill: var(--muted-foreground); font-size: 10.5px; font-weight: 600; font-family: inherit; }
.ins-prev-line { stroke: var(--muted-foreground); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .55; }
.ins-cursor { stroke: var(--foreground); stroke-width: 1; stroke-dasharray: 3 3; opacity: .5; transition: opacity 120ms ease; }
.ins-tip {
  position: absolute; top: 6px; min-width: 132px; pointer-events: none;
  padding: 8px 10px; border-radius: 12px; background: var(--foreground); color: var(--background);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: opacity 120ms ease;
}
.ins-tip-date { font-size: 11px; opacity: .7; font-weight: 600; }
.ins-tip-val { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ins-tip-dot { width: 8px; height: 8px; border-radius: 9999px; }
.ins-tip-prev { font-size: 11px; opacity: .7; margin-top: 2px; }

/* Highlights */
.ins-highlights { background: linear-gradient(135deg, color-mix(in srgb, #6366f1 9%, var(--card)), color-mix(in srgb, #ec4899 7%, var(--card))); }
.ins-highlights .ins-card-title svg { color: #8b5cf6; }
.ins-highlights ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ins-highlights li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.45; color: var(--foreground); }
.ins-highlights li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 9999px; background: #8b5cf6; }
.ins-highlights b { font-weight: 800; }

/* Donut */
.ins-donut-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto 12px; flex-shrink: 0; }
.ins-donut { width: 100%; height: 100%; }
.ins-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ins-donut-center b { font-family: var(--ds-font-display); font-size: 18px; font-weight: 800; color: var(--foreground); }
.ins-donut-center span { font-size: 11px; color: var(--muted-foreground); }
.ins-donut-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ins-donut-row .ins-donut-wrap { margin: 0; }
.ins-donut-row .ins-legend-list { flex: 1; min-width: 180px; }
.ins-legend-list { display: flex; flex-direction: column; gap: 8px; }
.ins-legend-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.ins-legend-list span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-foreground); font-weight: 600; }
.ins-legend-list i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.ins-legend-list b { font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; }

/* Engagement rate */
.ins-er { display: flex; align-items: center; gap: 10px; }
.ins-er-big { font-family: var(--ds-font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.04em; color: var(--foreground); }
.ins-er-scale { position: relative; height: 8px; border-radius: 9999px; margin-top: 12px; background: linear-gradient(90deg, #f43f5e, #f59e0b 35%, #10b981 70%, #6366f1); }
.ins-er-scale span { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 9999px; background: var(--background); border: 3px solid var(--foreground); transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.ins-er-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-foreground); margin-top: 6px; }
.ins-mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.ins-mini-stats div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ins-mini-stats span { font-size: 11.5px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ins-mini-stats b { font-size: 15px; font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; }

/* Thumbs */
.ins-thumb { position: relative; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--content); border: 1px solid var(--card-border); display: inline-flex; align-items: center; justify-content: center; }
.ins-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ins-thumb.is-icon { background: color-mix(in srgb, var(--tc) 12%, var(--card)); color: var(--tc); }
.ins-thumb.is-icon svg { width: 22px; height: 22px; }
.ins-thumb-badge { position: absolute; right: 3px; bottom: 3px; padding: 1px 5px; border-radius: 6px; background: rgba(0, 0, 0, .66); color: #fff; font-size: 10px; font-weight: 800; }

/* Top posts */
.ins-top-list { display: flex; flex-direction: column; gap: 8px; }
.ins-top-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--card-border); background: var(--card); text-align: left; transition: background-color 140ms ease, transform 120ms ease; }
.ins-top-card:hover { background: var(--ds-hover); }
.ins-top-card:active { transform: scale(.99); }
.ins-rank { width: 22px; font-family: var(--ds-font-display); font-weight: 800; font-size: 15px; color: var(--muted-foreground); text-align: center; flex-shrink: 0; }
.ins-top-card:first-child .ins-rank { color: #f59e0b; }
.ins-top-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ins-top-text { font-size: 13.5px; font-weight: 600; color: var(--foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.ins-top-meta { font-size: 12px; color: var(--muted-foreground); }
.ins-top-num { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.ins-top-num b { font-family: var(--ds-font-display); font-size: 16px; font-weight: 800; color: var(--foreground); }
.ins-top-num span { font-size: 11px; color: var(--muted-foreground); }

/* Format performance */
.ins-types { display: flex; flex-direction: column; }
.ins-type-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 9px 0; }
.ins-type-row + .ins-type-row { border-top: 1px solid var(--border); }
.ins-type-ic { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--tc) 13%, transparent); color: var(--tc); }
.ins-type-ic svg { width: 18px; height: 18px; }
.ins-type-name { display: flex; flex-direction: column; font-size: 14px; font-weight: 700; color: var(--foreground); min-width: 0; }
.ins-type-name small, .ins-type-num small { font-size: 11.5px; font-weight: 500; color: var(--muted-foreground); }
.ins-type-num { display: flex; flex-direction: column; align-items: flex-end; min-width: 64px; }
.ins-type-num b { font-size: 14px; font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; }

/* Posts list */
.ins-posts-sec { padding-top: 18px; }
.ins-posts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ins-sort { position: relative; display: inline-flex; align-items: center; height: 34px; padding: 0 30px 0 12px; border-radius: 9999px; border: 1px solid var(--card-border); background: var(--card); cursor: pointer; }
.ins-sort select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; outline: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--foreground); cursor: pointer; }
.ins-sort svg { position: absolute; right: 10px; width: 14px; height: 14px; color: var(--muted-foreground); pointer-events: none; }
.ins-search { position: relative; display: flex; align-items: center; height: 44px; border-radius: 9999px; background: var(--content); border: 1px solid transparent; padding: 0 12px 0 14px; gap: 8px; transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease; }
.ins-search:focus-within { background: var(--background); border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.ins-search > svg { width: 18px; height: 18px; color: var(--muted-foreground); flex-shrink: 0; }
.ins-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--foreground); }
.ins-search input::-webkit-search-cancel-button { display: none; }
.ins-search-clr { width: 26px; height: 26px; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; background: var(--card-border); color: var(--foreground); flex-shrink: 0; }
.ins-search-clr svg { width: 13px; height: 13px; }
.ins-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 6px; }
.ins-chips::-webkit-scrollbar { display: none; }
.ins-chips .ds-chip { flex-shrink: 0; }
.ins-post-list { display: flex; flex-direction: column; border-radius: 18px; border: 1px solid var(--card-border); background: var(--card); overflow: hidden; margin-top: 4px; }
.ins-post { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; text-align: left; transition: background-color 120ms ease; }
.ins-post + .ins-post { border-top: 1px solid var(--border); }
.ins-post:hover { background: var(--ds-hover); }
.ins-post-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ins-post-text { font-size: 13.5px; font-weight: 600; color: var(--foreground); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ins-post-text mark { background: color-mix(in srgb, #f59e0b 35%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.ins-post-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted-foreground); }
.ins-dot { width: 3px; height: 3px; border-radius: 9999px; background: currentColor; opacity: .6; }
.ins-live { color: #10b981; font-weight: 700; }
.ins-post-stats { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.ins-post-stats span { display: inline-flex; align-items: center; gap: 4px; }
.ins-post-stats svg { width: 13px; height: 13px; }
.ins-post-er { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; padding: 6px 9px; border-radius: 12px; background: var(--content); min-width: 62px; }
.ins-post-er b { font-size: 14px; font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; }
.ins-post-er span { font-size: 10px; color: var(--muted-foreground); font-weight: 600; }
.ins-post-er.is-good { background: color-mix(in srgb, #10b981 12%, transparent); }
.ins-post-er.is-good b { color: #059669; }
.ins-post-er.is-hot { background: color-mix(in srgb, #6366f1 14%, transparent); }
.ins-post-er.is-hot b { color: #6366f1; }
@media (max-width: 420px) { .ins-post-er { display: none; } .ins-post-stats { gap: 9px; } }
.ins-more { display: flex; justify-content: center; padding: 12px; border-top: 1px solid var(--border); }
.ins-more .ds-btn { gap: 8px; }
.ins-more-count { font-size: 11.5px; font-weight: 700; color: var(--muted-foreground); }
.ins-spin { width: 14px; height: 14px; border-radius: 9999px; border: 2px solid var(--primary); border-top-color: transparent; animation: insSpin 700ms linear infinite; display: inline-block; }
@keyframes insSpin { to { transform: rotate(360deg); } }
.ins-end { text-align: center; font-size: 12px; color: var(--muted-foreground); padding: 14px; border-top: 1px solid var(--border); }
.ins-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 16px; text-align: center; color: var(--muted-foreground); font-size: 13px; }
.ins-empty svg { width: 26px; height: 26px; margin-bottom: 4px; }
.ins-empty b { color: var(--foreground); font-size: 15px; }

/* Audience */
.ins-bars { display: flex; flex-direction: column; gap: 10px; }
.ins-bar-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 5px; }
.ins-bar-label { color: var(--foreground); font-weight: 600; }
.ins-bar-val { font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; }
.ins-bar-track { height: 8px; border-radius: 9999px; background: var(--content); overflow: hidden; }
.ins-bar-fill { display: block; height: 100%; border-radius: 9999px; }
.ins-ages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; height: 150px; }
.ins-age { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.ins-age-bar { flex: 1; width: 100%; max-width: 34px; display: flex; align-items: flex-end; }
.ins-age-bar i { display: block; width: 100%; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #8b5cf6, #6366f1); }
.ins-age b { font-size: 12px; font-weight: 800; color: var(--foreground); }
.ins-age small { font-size: 10.5px; color: var(--muted-foreground); white-space: nowrap; }
.ins-gender-bar { display: flex; height: 14px; border-radius: 9999px; overflow: hidden; gap: 2px; margin-bottom: 14px; }
.ins-gender-bar span { display: block; height: 100%; }
.ins-heat-wrap { overflow-x: auto; scrollbar-width: none; margin: 4px -2px 0; }
.ins-heat-wrap::-webkit-scrollbar { display: none; }
.ins-heat { min-width: 520px; display: flex; flex-direction: column; gap: 3px; }
.ins-heat-row { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.ins-heat-day { font-size: 11px; font-weight: 700; color: var(--muted-foreground); }
.ins-heat-cell { height: 16px; border-radius: 4px; background: color-mix(in srgb, #6366f1 calc(var(--hv) * 100%), var(--content)); }
.ins-heat-axis span { font-size: 9.5px; color: var(--muted-foreground); white-space: nowrap; }

/* Post insights sheet */
.ins-psheet { padding: 4px 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.ins-ppost { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--content); cursor: pointer; }
.ins-ppost-text { font-size: 13.5px; font-weight: 600; color: var(--foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.ins-ppost-link { font-size: 12px; font-weight: 700; color: var(--link); margin-top: 3px; }
.ins-phero { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ins-phero-side { display: flex; gap: 16px; }
.ins-phero-side div { display: flex; flex-direction: column; align-items: flex-end; }
.ins-phero-side span { font-size: 11.5px; color: var(--muted-foreground); }
.ins-phero-side b { font-size: 16px; font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; }
.ins-psub { font-size: 11.5px; color: var(--muted-foreground); text-align: center; margin-top: -6px; }
.ins-ptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { body:not(.mobile-sim) .ins-ptiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ins-ptile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px; border-radius: 14px; border: 1px solid var(--card-border); background: var(--card); min-width: 0; }
.ins-ptile-ic { width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--kc) 14%, transparent); color: var(--kc); }
.ins-ptile-ic svg { width: 14px; height: 14px; }
.ins-ptile b { font-family: var(--ds-font-display); font-size: 17px; font-weight: 800; color: var(--foreground); font-variant-numeric: tabular-nums; }
.ins-ptile span:last-child { font-size: 11px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ins-promote { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ins-promote .ds-btn svg { width: 14px; height: 14px; margin-right: 4px; }
.ins-psheet .ins-card + .ins-card { margin-top: 0; }

.ins-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 20px 16px 8px; font-size: 11.5px; color: var(--muted-foreground); text-align: center; }
.ins-foot svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Menus: account popover from rail */
.rail-acct-pop-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.rail-acct-pop-head img { width: 34px; height: 34px; border-radius: 9999px; object-fit: cover; }
.rail-acct-pop-head b { display: block; font-size: 14px; font-weight: 800; color: var(--foreground); }
.rail-acct-pop-head span { font-size: 12px; color: var(--muted-foreground); }
