/* Alpine.js cloak — hide elements until Alpine initializes */
[x-cloak] { display: none !important; }

/* ── Dark Luxury Color System ── */
:root {
    --rf-bg-deepest: #08080d;
    --rf-bg-deep: #0e0e16;
    --rf-bg-card: #141420;
    --rf-bg-card-hover: #1a1a2e;
    --rf-bg-elevated: #1e1e32;
    --rf-bg-input: #12121e;
    --rf-border: #2a2a3d;
    --rf-border-subtle: #1f1f30;
    --rf-text-primary: #eaeaf0;
    --rf-text-secondary: #9a9ab0;
    --rf-text-muted: #6a6a80;
    --rf-accent: #22d3ee;
    --rf-accent-hover: #06b6d4;
    --rf-accent-glow: rgba(34, 211, 238, 0.15);
    --rf-success: #34d399;
    --rf-warning: #fbbf24;
    --rf-danger: #f87171;
    --rf-info: #60a5fa;
    --rf-purple: #a78bfa;
    --rf-success-bg: rgba(52, 211, 153, 0.12);
    --rf-warning-bg: rgba(251, 191, 36, 0.12);
    --rf-danger-bg: rgba(248, 113, 113, 0.12);
    --rf-info-bg: rgba(96, 165, 250, 0.12);
    --rf-accent-bg: rgba(34, 211, 238, 0.12);
    --rf-purple-bg: rgba(167, 139, 250, 0.12);
    --rf-neutral-bg: rgba(154, 154, 176, 0.10);
}

[data-theme="dark"] {
    --pico-background-color: var(--rf-bg-deepest);
    --pico-card-background-color: var(--rf-bg-card);
    --pico-card-sectioning-background-color: var(--rf-bg-elevated);
    --pico-primary: var(--rf-accent);
    --pico-primary-hover: var(--rf-accent-hover);
    --pico-primary-background: var(--rf-accent);
    --pico-primary-border: var(--rf-accent);
    --pico-primary-inverse: #08080d;
    --pico-color: var(--rf-text-primary);
    --pico-muted-color: var(--rf-text-secondary);
    --pico-muted-border-color: var(--rf-border);
    --pico-form-element-background-color: var(--rf-bg-input);
    --pico-form-element-border-color: var(--rf-border);
    --pico-form-element-focus-color: var(--rf-accent);
    --pico-table-border-color: var(--rf-border-subtle);
    --pico-secondary: var(--rf-text-secondary);
    --pico-secondary-hover: var(--rf-text-primary);
    --pico-secondary-focus: rgba(154, 154, 176, 0.1);
    --pico-code-background-color: var(--rf-bg-elevated);
    --pico-code-color: var(--rf-accent);
    --pico-mark-background-color: rgba(251, 191, 36, 0.2);
    --pico-mark-color: var(--rf-warning);
    --pico-del-color: var(--rf-danger);
    --pico-ins-color: var(--rf-success);
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 0.15em 0.5em;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-sourced { background: var(--rf-info-bg); color: var(--rf-info); }
.badge-picked_up { background: var(--rf-warning-bg); color: var(--rf-warning); }
.badge-stored { background: var(--rf-purple-bg); color: var(--rf-purple); }
.badge-inspected { background: var(--rf-success-bg); color: var(--rf-success); }
.badge-photographed { background: var(--rf-accent-bg); color: var(--rf-accent); }
.badge-listed { background: var(--rf-warning-bg); color: var(--rf-warning); }
.badge-sold { background: var(--rf-success-bg); color: var(--rf-success); }
.badge-shipped { background: var(--rf-purple-bg); color: var(--rf-purple); }
.badge-complete { background: var(--rf-success-bg); color: var(--rf-success); }
.badge-returned { background: var(--rf-danger-bg); color: var(--rf-danger); }
.badge-ebay-cancelled { background: var(--rf-danger-bg); color: var(--rf-danger); }
.badge-ebay-refunded { background: var(--rf-warning-bg); color: var(--rf-warning); }
.badge-ebay-partial-refund { background: var(--rf-warning-bg); color: var(--rf-warning); }
.badge-ebay-returned { background: var(--rf-danger-bg); color: var(--rf-danger); }
.badge-ebay-paid { background: var(--rf-success-bg); color: var(--rf-success); }
.badge-return-yes { background: var(--rf-danger-bg); color: var(--rf-danger); }
.badge-return-no { background: var(--rf-success-bg); color: var(--rf-success); }
.badge-return-unknown { background: var(--rf-neutral-bg); color: var(--rf-text-secondary); }
.inventory-priority-high { background: var(--rf-danger-bg); color: var(--rf-danger); }
.inventory-priority-medium { background: var(--rf-warning-bg); color: var(--rf-warning); }
.inventory-priority-low { background: var(--rf-success-bg); color: var(--rf-success); }

/* Item detail status workflow rail */
.status-section {
    margin-bottom: 0.75rem;
}
.status-header-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}
.status-header-label {
    color: var(--pico-muted-color);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.status-header-value {
    font-size: 0.98rem;
    color: var(--pico-color);
}
.status-rail {
    display: flex;
    gap: 0.45rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
}
.status-form {
    flex: 0 0 auto;
}
.status-chip {
    min-width: 9.2rem;
    white-space: nowrap;
    padding: 0.38rem 0.75rem;
    font-size: 0.83rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid var(--pico-primary-border);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--pico-primary);
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
}
.status-chip:hover:not(:disabled) {
    background: color-mix(in srgb, var(--pico-primary) 14%, transparent);
    transform: translateY(-1px);
}
.status-chip.is-active,
.status-chip:disabled {
    background: color-mix(in srgb, var(--pico-primary) 20%, transparent);
    color: var(--pico-color);
    border-color: var(--pico-primary);
    opacity: 1;
    cursor: default;
    transform: none;
}

/* Inventory view-toggle polish */
.view-toggle-btn {
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.theme-toggle-btn {
    margin: 0;
    padding: 0.3rem 0.7rem;
    font-size: 0.85rem;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

/* Dashboard metric grid */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Flash messages */
.flash {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}
.flash-success { background: var(--rf-bg-card); color: var(--rf-success); border: 1px solid var(--rf-border); border-left: 4px solid var(--rf-success); }
.flash-error { background: var(--rf-bg-card); color: var(--rf-danger); border: 1px solid var(--rf-border); border-left: 4px solid var(--rf-danger); }
.flash-info { background: var(--rf-bg-card); color: var(--rf-info); border: 1px solid var(--rf-border); border-left: 4px solid var(--rf-info); }
.flash-warning { background: var(--rf-bg-card); color: var(--rf-warning); border: 1px solid var(--rf-border); border-left: 4px solid var(--rf-warning); }

/* Hamburger menu button — hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    color: var(--pico-color);
    margin: 0;
    width: auto;
}

/* eBay category picker */
.ebay-category-field {
    position: relative;
}
.ebay-category-picker-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.ebay-category-picker-row .js-ebay-category-search {
    margin-bottom: 0;
}
.ebay-category-picker-row .js-ebay-category-clear {
    white-space: nowrap;
    margin: 0;
}
.ebay-category-results {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    background: var(--pico-card-background-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.ebay-category-option {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
}
.ebay-category-option:hover,
.ebay-category-option.active {
    background: rgba(0, 153, 255, 0.12);
}
.ebay-category-name {
    display: block;
    font-weight: 600;
}
.ebay-category-meta {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.78rem;
    color: var(--pico-muted-color);
}
.ebay-category-selected {
    display: block;
    margin-top: 0.35rem;
    color: var(--pico-muted-color);
}
.ebay-category-error {
    display: block;
    margin-top: 0.2rem;
    color: var(--rf-danger);
}
.ebay-category-advanced {
    margin-top: 0.35rem;
}
.ebay-category-manual-row {
    margin-top: 0.35rem;
}
.ebay-category-manual-row input {
    margin-bottom: 0;
    width: 100%;
}

/* Layout */
body {
    overflow-x: hidden;
}

@media (min-width: 1400px) {
    :root { --pico-container-max-width: 1600px; }
}
@media (min-width: 1920px) {
    :root { --pico-container-max-width: 1800px; }
}

nav.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.nav-links li {
    list-style: none;
}

.nav-links > li > a {
    white-space: nowrap;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    color: var(--rf-text-primary) !important;
}
.nav-links > li > a:hover {
    color: var(--rf-accent) !important;
    background: color-mix(in srgb, var(--rf-accent) 10%, transparent);
}
.nav-links button {
    white-space: nowrap;
}

/* Nav dropdowns */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    color: var(--rf-text-primary) !important;
    text-decoration: none !important;
    cursor: pointer;
    font-size: inherit;
    padding: 0.3rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--rf-accent) !important;
    background: color-mix(in srgb, var(--rf-accent) 10%, transparent);
}

.nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.15s;
}

.nav-dropdown.is-open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 180px;
    margin: 0.25rem 0 0;
    padding: 0.35rem 0;
    list-style: none;
    background: var(--rf-bg-card);
    border: 1px solid var(--rf-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.4rem 0.9rem;
    color: var(--rf-text-primary) !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: color-mix(in srgb, var(--rf-accent) 12%, transparent);
    color: var(--rf-accent) !important;
}

/* Inventory page */
.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.inventory-title-group {
    margin-bottom: 0;
}

.inventory-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.inventory-view-toggle {
    margin-bottom: 0;
}

.inventory-filter-panel {
    margin-bottom: 1rem;
    padding: 0.72rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 10px;
    background: color-mix(in srgb, var(--pico-card-background-color) 88%, transparent);
}

.inventory-search-row {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.inventory-search-field {
    flex: 1 1 460px;
    margin: 0;
}

.inventory-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    margin: 0;
}

.inventory-filter-field > span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pico-muted-color);
}

.inventory-status-stack {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
    align-items: flex-start;
}

.inventory-workflow-hint {
    color: var(--pico-muted-color);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

.inventory-search {
    margin-bottom: 0;
}

.inventory-filter-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.inventory-filter-count {
    color: var(--pico-muted-color);
    white-space: nowrap;
    margin-left: auto;
}

.inventory-control-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.inventory-panel-toggle {
    margin: 0;
    padding: 0.22rem 0.62rem;
    font-size: 0.82rem;
}

.inventory-collapsible-panel {
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    padding: 0.6rem;
    margin-bottom: 0.55rem;
    background: color-mix(in srgb, var(--pico-card-background-color) 90%, transparent);
}

.inventory-sort-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.55rem 0.65rem;
    align-items: end;
}

.inventory-quick-status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.36rem;
    margin-bottom: 0.66rem;
}

.inventory-status-shortcut,
.inventory-ops-shortcut {
    margin: 0;
    padding: 0.22rem 0.58rem;
    font-size: 0.78rem;
    white-space: nowrap;
}

.inventory-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.55rem 0.65rem;
    align-items: end;
}

.inventory-filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    align-items: end;
}

.inventory-filter-select {
    margin-bottom: 0;
    min-width: 0;
    max-width: none;
}

.inventory-clear-filters {
    font-size: 0.85rem;
    white-space: nowrap;
}

.bulk-form-bar {
    display: none;
    padding: 0.5rem 0.75rem;
    background: var(--pico-card-background-color);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.bulk-form-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.bulk-action-select {
    margin-bottom: 0;
    min-width: 11rem;
    max-width: 13.5rem;
}

.bulk-apply-btn {
    padding: 0.3rem 0.7rem;
    font-size: 0.85rem;
}

.grid-select-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.grid-card {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.grid-card-select {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.62);
    border-radius: 6px;
    padding: 0.2rem 0.35rem;
    margin: 0;
}

.grid-card-ebay-link {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 2;
    font-size: 0.72rem;
    padding: 0.15rem 0.4rem;
    background: rgba(0, 0, 0, 0.62);
    color: var(--rf-accent);
    border-radius: 4px;
    text-decoration: none;
    line-height: 1.3;
}
.grid-card-ebay-link:hover {
    background: rgba(0, 0, 0, 0.85);
    color: var(--rf-accent-hover);
}

.grid-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.grid-image-placeholder {
    width: 100%;
    height: 160px;
    background: var(--pico-muted-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-card-body {
    padding: 0.75rem;
}

.grid-card-title {
    margin: 0.25rem 0;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 1.2;
    min-height: calc(1.2em * 2);
    word-break: break-word;
}

.grid-meta-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.grid-age-value {
    font-size: 0.82rem;
    color: var(--pico-muted-color);
}

.inventory-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.inventory-table-wrap table {
    width: 100%;
    min-width: 700px;
}

.inventory-table-shell table {
    table-layout: auto;
}

.inventory-thumb-col {
    width: 3.75rem;
    min-width: 3.75rem;
}

.inventory-age-col {
    min-width: 3.4rem;
    white-space: nowrap;
}

.inventory-thumb-cell {
    width: 3.75rem;
    min-width: 3.75rem;
    padding-right: 0.2rem;
}

.inventory-thumb-link {
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--pico-muted-border-color);
    background: color-mix(in srgb, var(--pico-muted-border-color) 35%, transparent);
}

.inventory-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inventory-thumb-placeholder {
    font-size: 0.56rem;
    line-height: 1;
    color: var(--pico-muted-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Sort active column header */
.sort-active {
    color: var(--rf-accent) !important;
    font-weight: 600;
}

.inventory-name-cell {
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    word-break: break-word;
}

.inventory-name-primary {
    overflow-wrap: anywhere;
    hyphens: auto;
}

.inventory-mobile-meta {
    display: none;
}

.inventory-mobile-meta-item {
    color: var(--pico-muted-color);
    font-size: 0.72rem;
    line-height: 1.15;
    white-space: nowrap;
}

.inventory-financial-col {
    min-width: 5.2rem;
    white-space: nowrap;
}

.inventory-col-hide-tablet {
    /* default visible, hidden at tablet/mobile breakpoints */
}

.inventory-actions-cell {
    white-space: nowrap;
}

/* Item detail page */
.item-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.item-detail-title {
    margin-bottom: 0.2rem;
    line-height: 1.2;
    max-width: 52rem;
    word-break: break-word;
}

.item-detail-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.item-detail-tabs {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.item-detail-tabs button {
    margin: 0;
}

.listing-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.listing-location-form-row {
    display: flex;
    gap: 0.5rem;
    align-items: end;
    flex-wrap: wrap;
}

.location-stock-form {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr auto;
    gap: 0.5rem;
    align-items: end;
    margin: 0;
}

.ebay-activity-card {
    margin-top: 1rem;
    padding: 0.85rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--pico-card-background-color) 94%, transparent);
}

.ebay-activity-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.ebay-activity-header small {
    color: var(--pico-muted-color);
}

.ebay-activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.45rem 0.65rem;
    margin-bottom: 0.6rem;
}

.ebay-activity-grid small {
    color: var(--pico-muted-color);
    display: block;
}

.ebay-activity-log {
    margin-top: 0.3rem;
}

.ebay-activity-table th,
.ebay-activity-table td {
    white-space: nowrap;
}

.ebay-activity-error {
    margin-bottom: 0.65rem;
}

.ebay-activity-sync-form {
    margin-top: 0.75rem;
}

.sync-health-card {
    margin-top: 0.75rem;
    padding: 0.9rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--pico-card-background-color) 94%, transparent);
}

.sync-health-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.sync-health-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--pico-muted-border-color);
    font-size: 0.78rem;
    text-transform: capitalize;
}

.sync-health-pill.is-good {
    border-color: var(--rf-success);
    color: var(--rf-success);
    background: var(--rf-success-bg);
}

.sync-health-pill.is-warn {
    border-color: var(--rf-warning);
    color: var(--rf-warning);
    background: var(--rf-warning-bg);
}

.sync-health-pill.is-bad {
    border-color: var(--rf-danger);
    color: var(--rf-danger);
    background: var(--rf-danger-bg);
}

.sync-health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.5rem 0.7rem;
}

.sync-health-grid small {
    color: var(--pico-muted-color);
    display: block;
}

/* Dashboard */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-range-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    flex-wrap: wrap;
}

.dashboard-range-select {
    margin: 0;
    width: auto;
}

.dashboard-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.dashboard-chart-panel {
    background: var(--pico-card-background-color);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--pico-muted-border-color);
}

/* Settings */
.settings-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.settings-profile-edit-form {
    display: flex;
    gap: 0.5rem;
    align-items: end;
    flex-wrap: wrap;
}

.settings-user-inline-form {
    display: flex;
    gap: 0.3rem;
    margin: 0;
    align-items: center;
    flex-wrap: wrap;
}

/* Create/import pages */
.create-import-row {
    display: flex;
    gap: 0.5rem;
    align-items: end;
}

.create-import-url-input {
    margin-bottom: 0;
    flex: 1;
}

.create-import-btn {
    white-space: nowrap;
}

.create-cost-preview {
    padding: 0.75rem;
    background: var(--pico-card-background-color);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.create-photo-dropzone {
    display: block;
    border: 2px dashed var(--pico-muted-border-color);
    border-radius: 8px;
    padding: 0.85rem;
    text-align: center;
    cursor: pointer;
    margin-bottom: 0.4rem;
}

.import-export-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive breakpoints */
@media (max-width: 980px) {
    .dashboard-chart-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .detail-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-stock-form {
        grid-template-columns: 1fr 1fr;
    }

    .inventory-table-wrap table {
        min-width: 580px;
    }

    .inventory-name-cell {
        max-width: 220px;
    }

    .inventory-thumb-link {
        width: 2.5rem;
        height: 2.5rem;
    }

    .inventory-col-hide-tablet {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
        align-items: stretch;
    }

    .nav-links.nav-open {
        display: flex;
    }

    nav.container {
        flex-wrap: wrap;
    }

    .nav-dropdown {
        position: static;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.4rem 0.5rem;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 1rem;
        margin: 0;
        min-width: 0;
    }

    .nav-dropdown-menu a {
        padding: 0.35rem 0.5rem;
        font-size: 0.85rem;
    }

    .inventory-header {
        align-items: start;
    }

    .inventory-actions {
        width: 100%;
    }

    .inventory-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .inventory-filter-meta {
        justify-content: space-between;
    }

    .inventory-filter-count {
        margin-left: 0;
    }

    .inventory-filter-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
        align-items: stretch;
    }

    .inventory-sort-grid {
        grid-template-columns: 1fr;
    }

    .inventory-filter-select {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .bulk-form-row {
        align-items: stretch;
    }

    .bulk-action-select {
        width: 100%;
        max-width: none;
    }

    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 0.7rem;
    }

    .grid-card-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
    }

    main table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .inventory-table-shell table {
        display: table !important;
        table-layout: fixed;
        min-width: 100%;
    }

    .inventory-table-shell th,
    .inventory-table-shell td {
        font-size: 0.82rem;
        padding: 0.4rem 0.32rem;
    }

    .inventory-col-hide-mobile {
        display: none;
    }

    .inventory-sku-col {
        display: none;
    }

    .inventory-financial-col {
        display: none;
    }

    .inventory-name-cell {
        white-space: normal;
        max-width: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.2;
        word-break: break-word;
    }

    .inventory-name-primary {
        margin-bottom: 0.22rem;
    }

    .inventory-mobile-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem 0.45rem;
    }

    .inventory-actions-cell {
        min-width: 4.8rem;
    }

    .inventory-actions-cell form {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 0.2rem;
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr;
    }

    .status-chip {
        min-width: 7.4rem;
        padding: 0.34rem 0.6rem;
        font-size: 0.78rem;
    }

    .item-detail-actions {
        width: 100%;
    }

    .item-detail-tabs {
        gap: 0.35rem;
    }

    .item-detail-tabs button {
        flex: 1 1 calc(50% - 0.35rem);
    }

    .location-stock-form {
        grid-template-columns: 1fr;
    }

    .ebay-activity-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sync-health-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-range-form {
        width: 100%;
    }

    .dashboard-range-select {
        flex: 1 1 12rem;
    }

    .settings-user-inline-form select {
        width: auto;
    }

    .create-import-row {
        flex-direction: column;
        align-items: stretch;
    }

    .create-import-btn {
        width: 100%;
    }

    article,
    form {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .detail-summary {
        grid-template-columns: 1fr;
    }

    .detail-metric-strip .metric {
        padding: 0.35rem 0.7rem;
    }

    .detail-metric-strip .metric-value {
        font-size: 0.85rem;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .inventory-filter-grid {
        grid-template-columns: 1fr;
    }

    .item-detail-tabs button {
        flex: 1 1 100%;
    }

    .inventory-grid {
        grid-template-columns: 1fr;
    }

    .ebay-activity-grid {
        grid-template-columns: 1fr;
    }

    .sync-health-grid {
        grid-template-columns: 1fr;
    }

    .inventory-table-shell th,
    .inventory-table-shell td {
        font-size: 0.76rem;
    }
}

/* ── Next Action Badges ── */
.next-action {
    display: inline-block;
    padding: 0.15em 0.5em;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    white-space: nowrap;
}
.next-action-info { background: var(--rf-info-bg); color: var(--rf-info); }
.next-action-warn { background: var(--rf-warning-bg); color: var(--rf-warning); }
.next-action-success { background: var(--rf-success-bg); color: var(--rf-success); }
.next-action-danger { background: var(--rf-danger-bg); color: var(--rf-danger); }
.next-action-muted { background: var(--rf-neutral-bg); color: var(--rf-text-secondary); }
.next-action-purple { background: var(--rf-purple-bg); color: var(--rf-purple); }

/* Next Action banner on detail page */
.next-action-banner {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.next-action-banner.is-info { background: var(--rf-info-bg); color: var(--rf-info); }
.next-action-banner.is-warn { background: var(--rf-warning-bg); color: var(--rf-warning); }
.next-action-banner.is-success { background: var(--rf-success-bg); color: var(--rf-success); }
.next-action-banner.is-danger { background: var(--rf-danger-bg); color: var(--rf-danger); }
.next-action-banner.is-muted { background: var(--rf-neutral-bg); color: var(--rf-text-secondary); }
.next-action-banner.is-purple { background: var(--rf-purple-bg); color: var(--rf-purple); }

/* ── Detail Page Summary Card ── */
.detail-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
.detail-summary-item {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--pico-card-background-color) 94%, transparent);
}
.detail-summary-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--pico-muted-color);
    letter-spacing: 0.03em;
    margin-bottom: 0.15rem;
}
.detail-summary-value {
    font-size: 1.05rem;
    font-weight: 600;
}

/* ── Detail Metric Strip ── */
.detail-metric-strip {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    border: 1px solid var(--rf-border);
    border-radius: 8px;
    background: var(--rf-bg-card);
    overflow: hidden;
}
.detail-metric-strip .metric {
    padding: 0.5rem 1rem;
    border-right: 1px solid var(--rf-border);
    border-bottom: 1px solid var(--rf-border);
}
.detail-metric-strip .metric:last-child {
    border-right: none;
}
.detail-metric-strip .metric-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--pico-muted-color);
    letter-spacing: 0.03em;
    margin-bottom: 0.1rem;
}
.detail-metric-strip .metric-value {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Section Visibility Menu ── */
.detail-sec-menu {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 50;
    background: var(--rf-bg-card);
    border: 1px solid var(--rf-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    padding: 0.5rem 0.75rem;
    min-width: 200px;
}
.detail-sec-menu label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    padding: 0.25rem 0;
    cursor: pointer;
    margin-bottom: 0;
}
.detail-sec-menu label input[type="checkbox"] {
    margin: 0;
}

/* ── Collapsible Detail Sections ── */
.detail-section {
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    background: color-mix(in srgb, var(--pico-card-background-color) 94%, transparent);
}
.detail-section summary {
    padding: 0.65rem 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    list-style: none;
}
.detail-section summary::before {
    content: "\25B6";
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.7em;
    transition: transform 0.2s ease;
}
.detail-section[open] summary::before {
    transform: rotate(90deg);
}
.detail-section .detail-section-body {
    padding: 0 0.85rem 0.75rem;
}
.detail-section table {
    margin-bottom: 0;
}

/* ── Listing Tab Cards ── */
.detail-card {
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    padding: 0.85rem;
    margin-bottom: 0.85rem;
    background: color-mix(in srgb, var(--pico-card-background-color) 94%, transparent);
}
.detail-card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.detail-card table {
    margin-bottom: 0;
}

/* ── Edit Form Section Headings ── */
.edit-section-heading {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--pico-muted-border-color);
    font-size: 0.85rem;
    color: var(--pico-muted-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* ── Drag-and-Drop Photo Upload Targets ── */
.photo-drop-target {
    transition: outline 0.15s ease, outline-offset 0.15s ease;
}
.photo-drop-target.drag-over {
    outline: 2px solid var(--pico-primary);
    outline-offset: -2px;
    background: rgba(0, 128, 255, 0.08);
    border-radius: 6px;
}
.photo-drop-target.upload-success {
    outline: 2px solid var(--rf-success);
    outline-offset: -2px;
    border-radius: 6px;
}
/* Row-level drop target (table view) */
tr.photo-drop-target.drag-over {
    outline: 2px solid var(--pico-primary);
    outline-offset: -2px;
    background: rgba(0, 128, 255, 0.08);
    border-radius: 0;
}
tr.photo-drop-target.upload-success {
    outline: 2px solid var(--rf-success);
    outline-offset: -2px;
    border-radius: 0;
}

/* ── Loading Spinner & Progress Bar ── */
.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Top progress bar for HTMX requests */
#page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
#page-progress.htmx-request {
    opacity: 1;
}
#page-progress .progress-bar {
    height: 100%;
    width: 30%;
    background: var(--pico-primary-background, #1095c1);
    animation: progress-slide 1.2s ease-in-out infinite;
}
@keyframes progress-slide {
    0% { width: 10%; margin-left: 0; }
    50% { width: 40%; margin-left: 30%; }
    100% { width: 10%; margin-left: 90%; }
}

/* ── Sale search results ── */
.sale-search-results { display: flex; flex-direction: column; gap: 0.5rem; }
.sale-result-card {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.6rem 0.75rem; border-radius: 6px;
    border: 1px solid var(--pico-muted-border-color);
    text-decoration: none; color: inherit;
    transition: border-color 0.15s, background 0.15s;
}
.sale-result-card:hover {
    border-color: var(--pico-primary);
    background: rgba(0, 128, 255, 0.04);
}
.sale-result-thumb { flex-shrink: 0; }
.sale-result-thumb img {
    width: 56px; height: 56px; object-fit: cover; border-radius: 4px;
    display: block;
}
.sale-result-thumb-placeholder {
    width: 56px; height: 56px; border-radius: 4px;
    background: var(--pico-muted-border-color);
    display: flex; align-items: center; justify-content: center;
}
.sale-result-thumb-placeholder small {
    color: var(--pico-muted-color); font-size: 0.55rem;
}
.sale-result-info { flex: 1; min-width: 0; }
.sale-result-header { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.sale-result-name {
    font-size: 0.95rem; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; max-width: 300px;
}
.sale-result-sku { font-size: 0.78rem; color: var(--pico-muted-color); }
.sale-result-meta {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    margin-top: 0.15rem; font-size: 0.8rem;
}
.sale-result-detail { color: var(--pico-muted-color); }
.sale-result-detail::before { content: "\b7 "; }
.sale-result-prices {
    display: flex; gap: 1rem; margin-top: 0.2rem;
    font-size: 0.82rem; color: var(--pico-muted-color);
}
.sale-result-action { flex-shrink: 0; }
@media (max-width: 768px) {
    .sale-result-card { flex-wrap: wrap; }
    .sale-result-name { max-width: 200px; }
    .sale-result-action { width: 100%; text-align: right; }
}

/* ── Notifications ── */
.notification-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--rf-danger); color: #fff; font-size: 0.65rem; font-weight: 700;
    min-width: 1.1rem; height: 1.1rem; padding: 0 0.25rem;
    border-radius: 999px; line-height: 1;
}
.notification-list { display: flex; flex-direction: column; gap: 0.5rem; }
.notification-card {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.75rem 1rem; border-radius: 8px;
    text-decoration: none; color: inherit;
    background: var(--pico-card-background-color);
    border: 1px solid var(--pico-muted-border-color);
    transition: background 0.15s;
}
.notification-card:hover { background: var(--pico-secondary-focus); }
.notification-unread {
    border-left: 3px solid var(--rf-accent);
    background: color-mix(in srgb, var(--pico-primary) 5%, var(--pico-card-background-color));
}
.notification-icon { flex-shrink: 0; width: 2rem; text-align: center; padding-top: 0.1rem; }
.notification-content { flex: 1; min-width: 0; }
.notification-title { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.notification-message {
    margin: 0; font-size: 0.82rem; color: var(--pico-muted-color);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 500px;
}
.notification-time { color: var(--pico-muted-color); font-size: 0.75rem; }
.notification-dot {
    flex-shrink: 0; width: 8px; height: 8px;
    background: var(--rf-accent); border-radius: 50%;
    margin-top: 0.5rem;
}

/* ── Floating AI Chat Widget ── */
.ai-chat-fab {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: var(--rf-accent) !important;
    color: var(--pico-primary-inverse) !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ai-chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.ai-chat-panel {
    width: 400px;
    max-height: 540px;
    display: flex;
    flex-direction: column;
    background: var(--pico-background-color);
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    background: var(--pico-primary-background);
    color: var(--pico-primary-inverse);
    flex-shrink: 0;
}

.ai-chat-header-btn {
    background: none !important;
    border: none !important;
    color: inherit !important;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem 0.4rem !important;
    margin: 0 !important;
    width: auto !important;
    box-shadow: none !important;
    opacity: 0.85;
}
.ai-chat-header-btn:hover { opacity: 1; }

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.6rem;
    min-height: 220px;
    max-height: 360px;
}

.ai-chat-bubble {
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    font-size: 0.86rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}
.ai-chat-bubble-user {
    background: var(--pico-primary-background);
    color: var(--pico-primary-inverse);
    margin-left: 1.5rem;
}
.ai-chat-bubble-ai {
    background: var(--pico-card-background-color);
    border: 1px solid var(--pico-muted-border-color);
    margin-right: 1.5rem;
}

.ai-chat-input-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.55rem 0.65rem;
    border-top: 1px solid var(--pico-muted-border-color);
    margin: 0;
    align-items: flex-end;
    flex-shrink: 0;
}

.ai-chat-input {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 0;
    font-size: 0.92rem;
    padding: 0.55rem 0.7rem;
    resize: none;
    min-height: 3.2rem;
    max-height: 6rem;
    line-height: 1.4;
    border: 2px solid var(--pico-muted-border-color);
    border-radius: 8px;
    background: var(--pico-background-color);
    color: var(--pico-color);
}
.ai-chat-input:focus {
    border-color: var(--pico-primary);
    outline: none;
}
.ai-chat-input::placeholder {
    color: var(--pico-muted-color);
    opacity: 0.8;
}

.ai-chat-send-btn {
    white-space: nowrap;
    margin-bottom: 0;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    min-height: 3.2rem;
    border-radius: 8px;
    font-weight: 600;
    flex: 1;
}

/* Full-page AI chat input styling */
.ai-fullpage-input-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0.5rem 0;
}
.ai-fullpage-input {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 0;
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
    min-height: 3rem;
    border: 2px solid var(--pico-muted-border-color);
    border-radius: 8px;
    background: var(--pico-background-color);
    color: var(--pico-color);
    resize: none;
    line-height: 1.4;
}
.ai-fullpage-input:focus {
    border-color: var(--pico-primary);
    outline: none;
}
.ai-fullpage-input::placeholder {
    color: var(--pico-muted-color);
    opacity: 0.8;
}
.ai-fullpage-send-btn {
    white-space: nowrap;
    margin-bottom: 0;
    padding: 0.65rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    min-height: 3rem;
    border-radius: 8px;
    flex: 1;
}
.ai-fullpage-clear-btn {
    white-space: nowrap;
    margin-bottom: 0;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    min-height: 3rem;
    border-radius: 8px;
}

/* Mobile: full-width chat panel */
@media (max-width: 520px) {
    #ai-chat-widget {
        left: 0.5rem !important;
        right: 0.5rem !important;
        bottom: 0.5rem !important;
    }
    .ai-chat-panel {
        width: 100% !important;
        max-height: calc(100vh - 5rem) !important;
    }
    .ai-chat-messages {
        max-height: calc(100vh - 14rem) !important;
    }
}

/* Tablet */
@media (min-width: 521px) and (max-width: 768px) {
    .ai-chat-panel {
        width: 350px;
        max-height: 460px;
    }
    .ai-chat-messages {
        max-height: 300px;
    }
}

/* ── eBay Account Management Cards ── */
.ebay-account-card {
    border: 1px solid var(--pico-muted-border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.ebay-account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--pico-muted-border-color);
}

.ebay-account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.ebay-account-card-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--pico-muted-border-color);
}
