/*
 * TigiPOS — styles of the custom Filament views (/app).
 *
 * Filament ships a precompiled stylesheet that only contains its own classes:
 * Tailwind utilities written in our Blade views (space-y-6, grid-cols-3, mt-4…)
 * are silently missing. Custom views therefore use these scoped `tp-` classes,
 * built on the panel colour variables (--gray-*, --primary-*, …) injected by
 * Filament, so they follow the theme in light and dark mode.
 */

/* ---------- Layout ---------- */

.tp-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.tp-stack-sm { display: flex; flex-direction: column; gap: 0.75rem; }
.tp-row { display: flex; align-items: center; gap: 0.75rem; }
.tp-row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Grids react to the width actually available (sidebar open or not). */
.tp-cq { container-type: inline-size; }
.tp-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.tp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 34rem) {
    .tp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 52rem) {
    .tp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container (min-width: 46rem) {
    .tp-grid-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Text ---------- */

.tp-heading { margin: 0; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; letter-spacing: -0.01em; color: var(--gray-950); }
.tp-title { margin: 0; font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: var(--gray-950); }
.tp-label { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--gray-500); }
.tp-text { margin: 0; font-size: 0.875rem; line-height: 1.5rem; color: var(--gray-600); }
.tp-muted { margin: 0; font-size: 0.75rem; line-height: 1rem; color: var(--gray-500); }
.tp-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tp-center { text-align: center; }
.dark .tp-heading, .dark .tp-title { color: var(--color-white, #fff); }
.dark .tp-label, .dark .tp-muted { color: var(--gray-400); }
.dark .tp-text { color: var(--gray-300); }

/* ---------- Surfaces ---------- */

.tp-card {
    position: relative;
    border-radius: 0.75rem;
    background: var(--color-white, #fff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(3, 7, 18, 0.05);
    padding: 1.25rem;
}
.dark .tp-card { background: var(--gray-900); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }

.tp-callout { margin: 0; border-radius: 0.5rem; padding: 0.75rem 1rem; font-size: 0.875rem; line-height: 1.5rem; }
.tp-callout-warning { background: var(--warning-50); color: var(--warning-800); }
.dark .tp-callout-warning { background: color-mix(in srgb, var(--warning-500) 12%, transparent); color: var(--warning-300); }
.tp-callout-danger { background: var(--danger-50); color: var(--danger-700); }
.dark .tp-callout-danger { background: color-mix(in srgb, var(--danger-500) 12%, transparent); color: var(--danger-300); }

.tp-pill { display: inline-flex; align-items: center; gap: 0.375rem; border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.8125rem; font-weight: 500; white-space: nowrap; }
.tp-pill-success { background: var(--success-50); color: var(--success-700); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success-600) 20%, transparent); }
.dark .tp-pill-success { background: color-mix(in srgb, var(--success-400) 10%, transparent); color: var(--success-400); }
.tp-pill-danger { background: var(--danger-50); color: var(--danger-700); }
.dark .tp-pill-danger { background: color-mix(in srgb, var(--danger-400) 12%, transparent); color: var(--danger-300); }
.tp-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: currentColor; }
@media (prefers-reduced-motion: no-preference) {
    .tp-dot-live { animation: tp-pulse 2s ease-in-out infinite; }
}
@keyframes tp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Simple list of label / value rows inside a section. */
.tp-list { margin: 0; padding: 0; list-style: none; }
.tp-list-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); }
.tp-list-item:first-child { padding-top: 0; }
.tp-list-item:last-child { padding-bottom: 0; border-bottom: 0; }
.dark .tp-list-item { border-color: rgba(255, 255, 255, 0.06); }
.tp-list-main { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.tp-list-main > * { min-width: 0; }
.tp-list-end { text-align: end; flex-shrink: 0; }
.tp-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-empty { padding: 1.5rem 0; text-align: center; font-size: 0.875rem; color: var(--gray-500); }
.dark .tp-empty { color: var(--gray-400); }

/* ---------- KPI (daily report) ---------- */

.tp-kpi { display: flex; align-items: flex-start; gap: 0.875rem; min-width: 0; }
.tp-kpi-body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.tp-kpi-value { margin: 0; font-size: 1.5rem; line-height: 2rem; font-weight: 700; letter-spacing: -0.01em; color: var(--gray-950); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tp-kpi-value small { font-size: 0.875rem; font-weight: 600; color: var(--gray-500); }
.dark .tp-kpi-value { color: var(--color-white, #fff); }
.dark .tp-kpi-value small { color: var(--gray-400); }
.tp-kpi-value-sm { font-size: 1.25rem; line-height: 1.75rem; }
.tp-kpi-icon { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 0.625rem; }
.tp-kpi-icon svg { width: 1.25rem; height: 1.25rem; }
.tp-tone-primary { background: var(--primary-50); color: var(--primary-600); }
.tp-tone-success { background: var(--success-50); color: var(--success-600); }
.tp-tone-danger { background: var(--danger-50); color: var(--danger-600); }
.tp-tone-info { background: var(--info-50); color: var(--info-600); }
.tp-tone-warning { background: var(--warning-50); color: var(--warning-600); }
.dark .tp-tone-primary { background: color-mix(in srgb, var(--primary-400) 14%, transparent); color: var(--primary-400); }
.dark .tp-tone-success { background: color-mix(in srgb, var(--success-400) 14%, transparent); color: var(--success-400); }
.dark .tp-tone-danger { background: color-mix(in srgb, var(--danger-400) 14%, transparent); color: var(--danger-400); }
.dark .tp-tone-info { background: color-mix(in srgb, var(--info-400) 14%, transparent); color: var(--info-400); }
.dark .tp-tone-warning { background: color-mix(in srgb, var(--warning-400) 14%, transparent); color: var(--warning-400); }
.tp-trend { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.tp-up { color: var(--success-600); }
.tp-down { color: var(--danger-600); }
.dark .tp-up { color: var(--success-400); }
.dark .tp-down { color: var(--danger-400); }
.tp-rank { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.5rem; background: var(--gray-100); color: var(--gray-600); font-size: 0.8125rem; font-weight: 700; }
.dark .tp-rank { background: rgba(255, 255, 255, 0.06); color: var(--gray-300); }

@media (max-width: 30rem) {
    .tp-card { padding: 1rem; }
    .tp-kpi { flex-direction: column; gap: 0.625rem; }
    .tp-kpi-value { font-size: 1.25rem; line-height: 1.75rem; }
}

/* ---------- Subscription ---------- */

.tp-facts { margin: 0; }
.tp-facts dt { margin: 0; }
.tp-facts dd { margin: 0.25rem 0 0; font-size: 1.0625rem; line-height: 1.5rem; font-weight: 600; color: var(--gray-950); }
.dark .tp-facts dd { color: var(--color-white, #fff); }

.tp-segmented { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.25rem; border-radius: 0.75rem; background: var(--gray-100); max-width: 100%; }
.dark .tp-segmented { background: rgba(255, 255, 255, 0.05); }
.tp-segment { appearance: none; border: 0; cursor: pointer; border-radius: 0.5rem; padding: 0.5rem 0.875rem; background: transparent; font: inherit; font-size: 0.875rem; font-weight: 500; line-height: 1.25rem; color: var(--gray-600); }
.tp-segment:hover { color: var(--gray-950); }
.tp-segment:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.tp-segment[aria-pressed="true"] { background: var(--color-white, #fff); color: var(--primary-700); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.tp-segment-note { color: var(--success-700); font-weight: 500; }
.dark .tp-segment { color: var(--gray-300); }
.dark .tp-segment:hover { color: #fff; }
.dark .tp-segment[aria-pressed="true"] { background: var(--gray-800); color: var(--primary-300); }
.dark .tp-segment-note { color: var(--success-400); }

.tp-plan { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.tp-plan-price { margin: 0; font-size: 1.5rem; line-height: 2rem; font-weight: 700; letter-spacing: -0.01em; color: var(--primary-700); font-variant-numeric: tabular-nums; }
.dark .tp-plan-price { color: var(--primary-300); }
.tp-features { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.tp-features li { position: relative; padding-inline-start: 1.25rem; font-size: 0.875rem; line-height: 1.375rem; color: var(--gray-600); }
.tp-features li::before { content: ""; position: absolute; inset-inline-start: 0.125rem; top: 0.5rem; width: 0.4375rem; height: 0.4375rem; border-radius: 999px; background: var(--primary-500); }
.dark .tp-features li { color: var(--gray-300); }
.tp-plan-footer { padding-top: 1rem; border-top: 1px solid var(--gray-100); }
.dark .tp-plan-footer { border-color: rgba(255, 255, 255, 0.08); }
.tp-plan-footer .fi-btn { width: 100%; }

.tp-payment { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); }
.tp-payment:first-child { padding-top: 0; }
.tp-payment:last-child { padding-bottom: 0; border-bottom: 0; }
.dark .tp-payment { border-color: rgba(255, 255, 255, 0.06); }
@container (min-width: 40rem) {
    .tp-payment { grid-template-columns: 9rem minmax(0, 1fr) auto auto; }
}

/* ---------- Shop switcher ---------- */

.tp-shop { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tp-shop-current { box-shadow: 0 0 0 2px var(--primary-600); }
.dark .tp-shop-current { box-shadow: 0 0 0 2px var(--primary-400); }

/* ---------- Dashboard widgets ---------- */

.tp-actions { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 40rem) { .tp-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tp-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.625rem; min-height: 7rem; padding: 1rem; border-radius: 0.75rem; text-align: center; text-decoration: none; background: var(--gray-50); color: var(--gray-950); font-size: 0.875rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--gray-200); transition: box-shadow 0.15s, background-color 0.15s; }
.tp-action:hover { background: var(--primary-50); box-shadow: inset 0 0 0 1px var(--primary-300); }
.tp-action:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.dark .tp-action { background: rgba(255, 255, 255, 0.04); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.dark .tp-action:hover { background: color-mix(in srgb, var(--primary-400) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary-400) 40%, transparent); }

.tp-section-heading { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--danger-600); }
.tp-section-heading svg { width: 1.25rem; height: 1.25rem; }
.dark .tp-section-heading { color: var(--danger-400); }

/* ---------- Product import ---------- */

.tp-prose p { margin: 0; }
.tp-errors { margin: 0; padding-inline-start: 1.25rem; display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.875rem; line-height: 1.375rem; color: var(--danger-700); }
.dark .tp-errors { color: var(--danger-300); }
.tp-table-wrap { overflow-x: auto; border-radius: 0.75rem; box-shadow: 0 0 0 1px var(--gray-200); }
.dark .tp-table-wrap { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.tp-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.25rem; text-align: start; }
.tp-table th { padding: 0.625rem 1rem; background: var(--gray-50); color: var(--gray-600); font-weight: 600; text-align: start; white-space: nowrap; }
.tp-table td { padding: 0.625rem 1rem; border-top: 1px solid var(--gray-100); color: var(--gray-950); }
.tp-table .tp-num { text-align: end; }
.dark .tp-table th { background: rgba(255, 255, 255, 0.04); color: var(--gray-300); }
.dark .tp-table td { border-color: rgba(255, 255, 255, 0.06); color: #fff; }

/* ---------- Support impersonation banner ---------- */

.tp-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 0.75rem; padding: 0.625rem 1rem; background: #fef3c7; color: #451a03; font-size: 0.875rem; line-height: 1.375rem; text-align: center; }
.tp-banner form { display: inline; margin: 0; }
.tp-banner button { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Print (daily report) ---------- */

@media print {
    body:has(.dr-print-area) :is(.fi-sidebar, .fi-topbar, .fi-header, .tp-banner) { display: none !important; }
    .dr-print-area .tp-card, .dr-print-area .fi-section { box-shadow: 0 0 0 1px #d1d5db; break-inside: avoid; }
}

/* ---------- Quick POS (/app/pos) ---------- */

.pos-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .pos-grid { grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr); } }
.pos-search-wrap { position: relative; margin-bottom: 1rem; }
.pos-search-icon { position: absolute; inset-inline-start: 0.875rem; top: 50%; transform: translateY(-50%); width: 1.25rem; height: 1.25rem; color: var(--gray-400); pointer-events: none; }
.pos-search { box-sizing: border-box; width: 100%; min-height: 2.75rem; padding: 0.625rem 1rem 0.625rem 2.75rem; border-radius: 0.625rem; border: 1px solid var(--gray-300); background: var(--color-white, #fff); color: var(--gray-950); font-size: 1rem; }
.pos-search:focus { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-600) 20%, transparent); }
.dark .pos-search { background: var(--gray-900); border-color: rgba(255, 255, 255, 0.12); color: #fff; }
.pos-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; align-items: center; }
.pos-filter-group { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.pos-divider { width: 1px; height: 1.25rem; background: var(--gray-200); }
.dark .pos-divider { background: rgba(255, 255, 255, 0.12); }
.pos-cat-btn { appearance: none; padding: 0.375rem 0.75rem; border-radius: 999px; border: 1px solid var(--gray-200); background: var(--color-white, #fff); color: var(--gray-700); font: inherit; font-size: 0.8125rem; line-height: 1.125rem; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.pos-cat-btn:hover { border-color: var(--primary-500); }
.pos-cat-btn:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.pos-cat-btn.active { background: var(--primary-600); color: #fff; border-color: var(--primary-600); }
.pos-cat-btn.fav { background: var(--warning-50); border-color: var(--warning-400); color: var(--warning-800); }
.pos-cat-btn.fav.active { background: var(--warning-500); border-color: var(--warning-500); color: #fff; }
.dark .pos-cat-btn { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: var(--gray-200); }
.dark .pos-cat-btn.active { background: var(--primary-600); border-color: var(--primary-500); color: #fff; }
.dark .pos-cat-btn.fav { background: color-mix(in srgb, var(--warning-400) 12%, transparent); color: var(--warning-300); }
.dark .pos-cat-btn.fav.active { background: var(--warning-500); color: var(--gray-950); }
.pos-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 640px) { .pos-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .pos-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pos-card { position: relative; display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; padding: 0.75rem; border-radius: 0.75rem; background: var(--color-white, #fff); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(3, 7, 18, 0.06); cursor: pointer; text-align: start; transition: box-shadow 0.15s; }
.pos-card:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--primary-400); }
.dark .pos-card { background: var(--gray-900); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.dark .pos-card:hover { box-shadow: 0 0 0 1px var(--primary-400); }
.pos-card .pos-cat-btn { margin-top: 0.25rem; text-align: start; border-radius: 0.5rem; }
.pos-card-fav { position: absolute; top: 1.125rem; inset-inline-end: 1.125rem; z-index: 1; display: flex; padding: 0.3125rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.92); cursor: pointer; }
.pos-card-fav:hover { background: var(--warning-50); }
.pos-card-img { display: flex; align-items: center; justify-content: center; width: 100%; height: 5.5rem; object-fit: cover; border-radius: 0.5rem; margin-bottom: 0.375rem; background: var(--gray-100); }
.dark .pos-card-img { background: rgba(255, 255, 255, 0.06); }
.pos-card-initials { font-size: 1.5rem; font-weight: 700; color: var(--gray-400); }
.pos-card-name { font-weight: 600; font-size: 0.875rem; color: var(--gray-950); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .pos-card-name { color: #fff; }
.pos-card-cat { font-size: 0.75rem; color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .pos-card-cat { color: var(--gray-400); }
.pos-card-price { font-weight: 700; color: var(--primary-700); font-variant-numeric: tabular-nums; }
.dark .pos-card-price { color: var(--primary-300); }
.pos-cart { display: flex; flex-direction: column; padding: 1.25rem; border-radius: 0.75rem; background: var(--color-white, #fff); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(3, 7, 18, 0.05); }
.dark .pos-cart { background: var(--gray-900); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
@media (min-width: 1024px) { .pos-cart { position: sticky; top: calc(var(--topbar-height, 4rem) + 1rem); } }
.pos-cart-title { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 1.125rem; font-weight: 700; color: var(--gray-950); }
.dark .pos-cart-title { color: #fff; }
.pos-cart-badge { padding: 0.125rem 0.5rem; border-radius: 999px; background: var(--primary-600); color: #fff; font-size: 0.75rem; }
.pos-cart-items { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; max-height: 22rem; overflow-y: auto; margin-bottom: 1rem; }
.pos-cart-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.625rem 0.75rem; border-radius: 0.625rem; background: var(--gray-50); }
.dark .pos-cart-item { background: rgba(255, 255, 255, 0.05); }
.pos-cart-item-info { flex: 1; min-width: 0; }
.pos-cart-item-name { font-weight: 500; font-size: 0.875rem; color: var(--gray-950); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .pos-cart-item-name { color: #fff; }
.pos-cart-item-price { font-size: 0.75rem; color: var(--gray-500); font-variant-numeric: tabular-nums; }
.pos-cart-item-actions { display: flex; align-items: center; gap: 0.25rem; }
.pos-btn-sm { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 0; border-radius: 0.5rem; background: var(--gray-200); color: var(--gray-700); cursor: pointer; }
.pos-btn-sm:hover { background: var(--gray-300); }
.dark .pos-btn-sm { background: rgba(255, 255, 255, 0.1); color: var(--gray-200); }
.dark .pos-btn-sm:hover { background: rgba(255, 255, 255, 0.16); }
.pos-btn-sm.pos-btn-danger { background: var(--danger-50); color: var(--danger-600); }
.pos-btn-sm.pos-btn-danger:hover { background: var(--danger-100); }
.dark .pos-btn-sm.pos-btn-danger { background: color-mix(in srgb, var(--danger-400) 14%, transparent); color: var(--danger-400); }
.pos-qty { width: 2rem; text-align: center; font-weight: 700; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.pos-total { display: flex; justify-content: space-between; align-items: center; padding-top: 0.875rem; border-top: 1px solid var(--gray-200); font-size: 1.25rem; font-weight: 700; }
.dark .pos-total { border-color: rgba(255, 255, 255, 0.1); }
.pos-total-label { color: var(--gray-500); }
.pos-total-value { color: var(--primary-700); font-variant-numeric: tabular-nums; }
.dark .pos-total-value { color: var(--primary-300); }
.pos-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1rem; }
.pos-btn { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.375rem; min-height: 2.75rem; padding: 0.625rem 0.75rem; border: 0; border-radius: 0.625rem; font: inherit; font-weight: 600; cursor: pointer; transition: background-color 0.15s; }
.pos-btn-secondary { background: var(--gray-100); color: var(--gray-800); }
.pos-btn-secondary:hover { background: var(--gray-200); }
.dark .pos-btn-secondary { background: rgba(255, 255, 255, 0.08); color: var(--gray-100); }
.pos-btn-primary { background: var(--primary-600); color: #fff; }
.pos-btn-primary:hover { background: var(--primary-700); }
.pos-shortcut { padding: 0.125rem 0.375rem; border-radius: 0.25rem; background: rgba(0, 0, 0, 0.08); font-size: 0.625rem; font-weight: 600; }
.pos-btn-primary .pos-shortcut { background: rgba(255, 255, 255, 0.18); }
.dark .pos-shortcut { background: rgba(255, 255, 255, 0.12); }
@media (hover: none) { .pos-shortcut { display: none; } }
.pos-empty { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--gray-400); }
.pos-empty-sm { padding: 2rem 0.5rem; }
.pos-empty-icon { display: block; width: 3.5rem; height: 3.5rem; margin: 0 auto 0.75rem; opacity: 0.45; }
.pos-empty-sm .pos-empty-icon { width: 2.75rem; height: 2.75rem; }
.pos-empty-title { margin: 0 0 0.375rem; font-size: 1rem; font-weight: 600; color: var(--gray-600); }
.dark .pos-empty-title { color: var(--gray-300); }
.pos-empty-text { margin: 0; font-size: 0.875rem; }
