.store-dashboard {
    --store-surface: #fff;
    --store-text: #101828;
    --store-muted: #667085;
    --store-border: #e2e8f0;
    --store-amber: #b45309;
    --store-amber-soft: #fff3d6;
    --store-green: #15803d;
    --store-green-soft: #eaf8ed;
    --store-violet: #7c3aed;
    --store-violet-soft: #f2edff;
    display: grid;
    gap: 2.5rem;
    color: var(--store-text);
    padding-block: .5rem 2rem;
}
.store-dashboard-heading h1 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; }
.store-dashboard-heading p { margin-block-start: .65rem; color: var(--store-muted); font-size: 1rem; line-height: 1.6; }
.store-section-heading { margin-block-end: 1.15rem; font-size: 1.125rem; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.store-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.store-action-card, .store-dashboard .store-stat-card {
    border: 1px solid var(--store-border);
    border-radius: 1.125rem;
    background: var(--store-surface);
    box-shadow: 0 2px 4px rgb(16 24 40 / 2%), 0 6px 16px rgb(16 24 40 / 3%);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    text-decoration: none;
}
.store-action-card { display: flex; align-items: center; gap: 1.25rem; min-height: 10rem; padding: 1.75rem; color: var(--store-text); }
.store-action-icon { display: grid; place-items: center; flex-shrink: 0; width: 4.25rem; height: 4.25rem; border-radius: 1rem; color: var(--store-amber); background: var(--store-amber-soft); }
.store-action-icon .fi-icon { width: 2rem; height: 2rem; }
.store-action-card--sale .store-action-icon { color: var(--store-green); background: var(--store-green-soft); }
.store-action-copy { display: grid; gap: .5rem; min-width: 0; }
.store-action-copy strong { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.store-action-copy > span { color: var(--store-muted); font-size: .875rem; line-height: 1.6; }
.store-action-arrow.fi-icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-inline-start: auto; color: var(--store-amber); }
.store-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.store-overview > div { min-width: 0; }
.store-overview-sales { grid-column: span 2; }
.store-dashboard .fi-wi-stats-overview .fi-section-content { display: grid; gap: 1.25rem; }
.store-overview-products .fi-section-content { grid-template-columns: minmax(0, 1fr); }
.store-overview-sales .fi-section-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.store-dashboard .fi-section-content > .fi-grid-col { min-width: 0; grid-column: auto; }
/* Keep widget context available to screen readers without repeating section headings. */
.store-dashboard .fi-wi-stats-overview .fi-section-header { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.store-dashboard .store-stat-card { display: flex; align-items: center; min-height: 13.5rem; height: 100%; padding: 1.75rem; color: var(--store-text); }
.store-dashboard .fi-wi-stats-overview-stat-content { width: 100%; }
.store-dashboard .fi-wi-stats-overview-stat-label-ctn { gap: .75rem; }
.store-dashboard .fi-wi-stats-overview-stat-label { color: var(--store-text); font-size: .95rem; font-weight: 650; }
.store-dashboard .store-stat-card .fi-icon { box-sizing: content-box; width: 1.25rem; height: 1.25rem; padding: .65rem; border-radius: .8rem; color: var(--store-amber); background: var(--store-amber-soft); }
.store-dashboard .store-stat-card-sales .fi-icon { color: var(--store-green); background: var(--store-green-soft); }
.store-dashboard .store-stat-card-revenue .fi-icon { color: var(--store-violet); background: var(--store-violet-soft); }
.store-dashboard .fi-wi-stats-overview-stat-value { margin-block: 1.1rem .4rem; color: var(--store-text); font-size: clamp(1.75rem, 2.8vw, 2.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.store-dashboard .fi-wi-stats-overview-stat-description { color: var(--store-muted); font-size: .8rem; line-height: 1.6; }
.store-action-card:hover, .store-dashboard .store-stat-card:hover { transform: translateY(-3px); border-color: #cbd5e1; box-shadow: 0 8px 24px rgb(16 24 40 / 8%); }
.store-action-card:focus-visible, .store-dashboard .store-stat-card:focus-visible { outline: 3px solid #d97706; outline-offset: 4px; }
[dir="rtl"] .store-action-arrow { transform: scaleX(-1); }
.dark .store-dashboard {
    --store-surface: #18181b;
    --store-text: #f4f4f5;
    --store-muted: #a1a1aa;
    --store-border: #35353d;
    --store-amber: #fbbf24;
    --store-amber-soft: #3b2b16;
    --store-green: #86efac;
    --store-green-soft: #193326;
    --store-violet: #c4b5fd;
    --store-violet-soft: #302445;
}
@media (max-width: 1100px) and (min-width: 768px) {
    .store-action-card { padding: 1.25rem; gap: 1rem; }
    .store-action-icon { width: 3.25rem; height: 3.25rem; }
    .store-dashboard .store-stat-card { padding: 1.25rem; }
}
@media (max-width: 767px) {
    .store-dashboard { gap: 2rem; }
    .store-actions, .store-overview, .store-overview-sales .fi-section-content { grid-template-columns: minmax(0, 1fr); }
    .store-overview-sales { grid-column: auto; }
    .store-action-card { min-height: 8rem; padding: 1.25rem; gap: 1rem; }
    .store-action-icon { width: 3.5rem; height: 3.5rem; border-radius: .85rem; }
    .store-action-copy strong { font-size: 1.125rem; }
    .store-dashboard .store-stat-card { min-height: 11rem; padding: 1.5rem; }
}
.trial-onboarding { padding: 24px; border: 1px solid var(--store-border); border-radius: 16px; background: var(--store-green-soft); color: var(--store-text); }
.trial-onboarding h2 { font-size: 20px; font-weight: 650; margin-bottom: 8px; }
.trial-onboarding p { font-size: 14px; line-height: 1.7; }
.trial-onboarding ol { display: grid; gap: 14px; margin-top: 18px; padding-inline-start: 20px; list-style: decimal; }
.trial-onboarding a { text-decoration: underline; text-underline-offset: 3px; }
.trial-onboarding button, .trial-onboarding input { min-height: 44px; border: 1px solid var(--store-border); border-radius: 8px; padding: 8px 12px; margin-top: 8px; background: var(--store-surface, #fff); color: var(--store-text); font-size: 14px; }
.trial-onboarding input { display: block; width: 100%; max-width: 440px; }
@media (prefers-reduced-motion: reduce) {
    .store-action-card, .store-dashboard .store-stat-card { transition: none; }
    .store-action-card:hover, .store-dashboard .store-stat-card:hover { transform: none; }
}
