* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-input: #0f172a;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --border-focus: #3b82f6;
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.1);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --warning: #f59e0b;
    --radius: 0.5rem;
    --radius-sm: 0.375rem;
    --qh-accent: #3b82f6;
    --qh-card: #1e293b;
    --qh-card-elevated: #253349;
    --qh-success: #22c55e;
    --qh-success-bg: rgba(34, 197, 94, 0.1);
    --qh-warning: #f59e0b;
    --qh-warning-bg: rgba(245, 158, 11, 0.1);
    --qh-danger: #ef4444;
    --qh-danger-bg: rgba(239, 68, 68, 0.1);
    --qh-info: #3b82f6;
    --qh-info-bg: rgba(59, 130, 246, 0.1);
    --qh-radius-sm: 0.375rem;
    --qh-radius-md: 0.5rem;
    --qh-radius-lg: 0.75rem;
    --qh-radius-full: 9999px;
    --qh-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --qh-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --qh-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* --- Navbar --- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.navbar-brand a {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-links { display: flex; gap: 1rem; }
.navbar-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.25rem 0;
}
.navbar-links a:hover { color: var(--text); }

.navbar-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-user {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.25rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-full {
    width: 100%;
}

.btn-loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- Layout --- */

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    padding-top: calc(1.5rem + 30px);
}

.view {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.view h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.placeholder {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 2rem 0;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
}

/* --- Auth --- */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-input {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    background: var(--bg-input);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.15s;
}

.form-input:focus {
    border-color: var(--border-focus);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-input:disabled {
    opacity: 0.5;
}

.form-error {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--danger);
    background: var(--danger-bg);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-success {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--success);
    background: var(--success-bg);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.auth-link:hover {
    text-decoration: underline;
}

/* --- Price indicators --- */

.price-up { color: var(--success); }
.price-down { color: var(--danger); }
.price-flat { color: var(--text-muted); }

/* --- Wallet summary --- */

.wallet-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.summary-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

/* --- Tabs --- */

.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
}

.tab:hover { color: var(--text); }

.tab-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* --- Data tables --- */

.data-table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.data-table thead th {
    text-align: left;
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

.data-table tbody td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.data-table tbody tr.row-selected {
    background: rgba(37, 99, 235, 0.08);
}

.text-muted { color: var(--text-muted); }

/* --- Section header --- */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0 0.75rem;
}

.section-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
}

/* --- Order form --- */

.order-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.order-info {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.8125rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.order-total-value {
    font-weight: 700;
    font-size: 1.125rem;
}

.active-orders-panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.active-orders-panel h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* --- Mint grid --- */

.mint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.form-info {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.form-info p {
    margin-bottom: 0.5rem;
}

/* --- Role checkboxes --- */

.role-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text);
    cursor: pointer;
}

.role-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
    cursor: pointer;
}

/* --- Loading --- */

.loading-spinner {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    padding: 2rem 0;
}

/* --- Profile page --- */

.profile-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--qh-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}
.profile-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--qh-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}
.profile-info {
    flex: 1;
    min-width: 0;
}
.profile-email {
    font-size: 1rem;
    margin: 0 0 0.25rem;
    word-break: break-all;
}
.profile-roles {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}
.profile-role-label {
    margin: 0;
    font-size: 0.85rem;
}
.role-badge {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}
.role-consumer {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
}
.role-freelancer {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.15);
}

.kyc-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-weight: 600;
}
.kyc-verified {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
}
.kyc-pending {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}
.kyc-rejected {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}
.kyc-not-started {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.15);
}
.kyc-unknown {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.15);
}
.kyc-pending-info, .kyc-verified-info {
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
.kyc-pending-info {
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
}
.kyc-verified-info {
    background: rgba(74, 222, 128, 0.08);
    color: #4ade80;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.settings-item:last-child {
    border-bottom: none;
}

.danger-zone {
    margin-top: 1.5rem;
    border-color: rgba(248, 113, 113, 0.3);
}
.btn-danger-outline {
    padding: 0.5rem 1rem;
    border: 1px solid #f87171;
    border-radius: 0.375rem;
    background: transparent;
    color: #f87171;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s;
}
.btn-danger-outline:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* Order filters */
.order-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s;
}
.filter-btn:hover {
    border-color: var(--qh-accent);
    color: var(--text);
}
.filter-btn.active {
    background: var(--qh-accent);
    border-color: var(--qh-accent);
    color: #fff;
}

/* Order status badges */
.status-active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
}
.status-partial {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
}
.status-filled {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
}
.status-cancelled {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
}

/* Governance page */
.governance-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gov-card {
    padding: 1rem;
    background: var(--qh-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}
.gov-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.gov-header h3 {
    margin: 0;
    font-size: 0.95rem;
}
.gov-active { color: #60a5fa; font-size: 0.75rem; font-weight: 600; }
.gov-passed { color: #4ade80; font-size: 0.75rem; font-weight: 600; }
.gov-rejected { color: #f87171; font-size: 0.75rem; font-weight: 600; }
.gov-closed { color: #94a3b8; font-size: 0.75rem; font-weight: 600; }
.gov-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}
.gov-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.vote-bar {
    height: 0.375rem;
    background: rgba(248, 113, 113, 0.3);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.375rem;
}
.vote-for-bar {
    height: 100%;
    background: #4ade80;
    border-radius: 0.25rem;
    transition: width 0.3s;
}
.vote-counts {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.vote-for { color: #4ade80; }
.vote-against { color: #f87171; }
.gov-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.gov-voted {
    margin-top: 0.5rem;
    padding: 0.4rem 0;
}

/* Earnings page */
.earnings-summary {
    padding: 1.25rem;
    background: var(--qh-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.earnings-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.earnings-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4ade80;
}
.earnings-meta {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}
.earnings-info {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: rgba(148, 163, 184, 0.05);
    border-radius: 0.5rem;
}

.earnings-dashboard-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 600px) {
    .earnings-dashboard-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.activity-item:last-child {
    border-bottom: none;
}
.activity-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}
.activity-credit {
    color: var(--success);
    background: var(--success-bg);
}
.activity-debit {
    color: var(--danger);
    background: var(--danger-bg);
}
.activity-info {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}
.activity-body {
    flex: 1;
    min-width: 0;
}
.activity-desc {
    font-size: 0.875rem;
    font-weight: 500;
}
.activity-meta {
    font-size: 0.75rem;
    margin-top: 0.125rem;
}
.activity-amount {
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* KYC form */
.kyc-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}
.kyc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
@media (max-width: 600px) {
    .kyc-form-row {
        grid-template-columns: 1fr;
    }
}
.kyc-form label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.kyc-form input,
.kyc-form select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    background: var(--bg);
    color: var(--text);
    font-size: 0.9rem;
}
.kyc-form input:focus,
.kyc-form select:focus {
    outline: none;
    border-color: var(--qh-accent);
}
.kyc-form .form-error {
    grid-column: 1 / -1;
}

/* --- Market filters --- */

.market-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.market-search {
    width: 100%;
}
.market-filter-row {
    display: flex;
    gap: 0.5rem;
}
.market-select {
    flex: 1;
    cursor: pointer;
}
.market-results-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Responsive --- */

/* ====================================================================
   Mobile Layout — Top App Bar, Bottom Tab Bar, FAB, Drawer, Action Sheet
   ==================================================================== */

/* Top App Bar */
.qh-app-bar {
    position: fixed;
    top: 26px;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem;
    z-index: 200;
}

.qh-app-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qh-app-bar-brand {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--qh-accent);
    text-decoration: none;
    line-height: 1;
}

.qh-app-bar-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.qh-app-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--qh-radius-sm);
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.qh-app-bar-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.qh-app-bar-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--qh-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Bottom Tab Bar */
.qh-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.qh-bottom-bar-tabs {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.qh-bottom-bar-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease;
    padding: 0 0.5rem;
}

.qh-bottom-bar-tab:hover {
    color: var(--text);
}

.qh-bottom-bar-tab-active {
    color: var(--qh-accent);
}

.qh-bottom-bar-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.qh-bottom-bar-tab-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.qh-bottom-bar-tab-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}

/* FAB (center of tab bar) */
.qh-fab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-top: -20px;
    border-radius: 50%;
    background: var(--qh-accent);
    color: #fff;
    border: 3px solid var(--bg-card);
    box-shadow: var(--qh-shadow-md);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}

.qh-fab:hover {
    box-shadow: var(--qh-shadow-lg);
}

.qh-fab:active {
    transform: scale(0.95);
}

.qh-fab svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* Action Sheet (FAB menu) */
.qh-action-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.5);
    animation: qh-fade-in 0.15s ease;
}

.qh-action-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 501;
    background: var(--qh-card);
    border-radius: var(--qh-radius-lg) var(--qh-radius-lg) 0 0;
    padding: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    animation: qh-slide-up 0.2s ease;
    max-height: 60vh;
    overflow-y: auto;
}

.qh-action-sheet-handle {
    width: 36px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 0.75rem;
}

.qh-action-sheet-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0.5rem;
}

.qh-action-sheet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: transparent;
    border: none;
    border-radius: var(--qh-radius-sm);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: left;
    text-decoration: none;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.qh-action-sheet-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.qh-action-sheet-item:active {
    background: rgba(255, 255, 255, 0.08);
}

.qh-action-sheet-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--qh-radius-sm);
    background: rgba(59, 130, 246, 0.12);
    color: var(--qh-accent);
    flex-shrink: 0;
}

.qh-action-sheet-item-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Side Drawer */
.qh-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.5);
    animation: qh-fade-in 0.2s ease;
}

.qh-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    z-index: 301;
    display: flex;
    flex-direction: column;
    animation: qh-drawer-slide-in 0.25s ease;
    overflow-y: auto;
}

@keyframes qh-drawer-slide-in {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.qh-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.qh-drawer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--qh-accent);
}

.qh-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--qh-radius-sm);
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.qh-drawer-close:hover {
    background: rgba(255, 255, 255, 0.06);
}

.qh-drawer-close svg {
    display: block;
    width: 20px;
    height: 20px;
}

.qh-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}

.qh-drawer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.qh-drawer-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.qh-drawer-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.qh-drawer-item-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.qh-drawer-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 1rem;
}

.qh-drawer-footer {
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
}

.qh-drawer-footer-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    background: transparent;
    border: none;
    color: var(--qh-danger);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--qh-radius-sm);
    width: 100%;
    text-align: left;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.qh-drawer-footer-btn:hover {
    background: var(--qh-danger-bg);
}

/* Safe area helpers */
.qh-safe-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.qh-safe-top {
    padding-top: env(safe-area-inset-top, 0px);
}

/* Demo banner (thinner for mobile) */
.demo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #f59e0b;
    color: #000;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 16px;
    line-height: 1;
}

/* Main content with proper offsets */
.main-content {
    max-width: 100%;
    margin: 0;
    padding: 0.75rem;
    padding-top: calc(48px + 26px + 0.75rem);
    padding-bottom: calc(56px + 0.75rem + env(safe-area-inset-bottom, 0px));
}

.main-content-no-tabs {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

/* WebSocket connection indicator */
.ws-indicator {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.ws-connected {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}
.ws-disconnected {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
    .navbar-auth {
        width: 100%;
        justify-content: flex-end;
    }
    .main-content { padding: 0.75rem; padding-top: calc(0.75rem + 30px); }
    .auth-card { padding: 1.25rem; }
    .wallet-summary {
        grid-template-columns: 1fr;
    }
    .order-form-grid {
        grid-template-columns: 1fr;
    }
    .mint-grid {
        grid-template-columns: 1fr;
    }
}

/* Cancel all button */
.cancel-all-wrapper {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Detail panel with tabs */
.detail-panel {
    margin-top: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
}
.detail-panel .tabs {
    padding: 0 0.75rem;
}

/* Order book */
.order-book-container {
    font-size: 0.8125rem;
    max-height: 420px;
    overflow-y: auto;
    padding: 0 0.75rem 0.75rem;
}
.ob-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0.5rem 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}
.ob-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0.3rem 0;
    position: relative;
    align-items: center;
}
.ob-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0.08;
    pointer-events: none;
}
.ob-row-bid .ob-bar { background: #10b981; }
.ob-row-ask .ob-bar { background: #ef4444; }
.ob-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.ob-bid { color: #10b981; }
.ob-ask { color: #ef4444; }
.ob-size { text-align: center; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ob-total { text-align: right; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ob-spread {
    text-align: center;
    padding: 0.4rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* --- Notification bell --- */

.notification-bell-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.notification-bell-btn {
    position: relative;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
    line-height: 1;
}

.notification-bell-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--danger);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

.notification-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    width: 360px;
    max-height: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.notification-dropdown-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.notification-mark-all-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.notification-mark-all-btn:hover:not(:disabled) {
    background: rgba(37, 99, 235, 0.1);
}

.notification-mark-all-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.notification-dropdown-list {
    overflow-y: auto;
    flex: 1;
}

.notification-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notification-item.notification-unread {
    background: rgba(37, 99, 235, 0.04);
}

.notification-item-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    line-height: 1.25rem;
    margin-top: 0.1rem;
}

.notification-item-content {
    flex: 1;
    min-width: 0;
}

.notification-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.125rem;
    line-height: 1.25rem;
}

.notification-item-body {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-item-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    opacity: 0.7;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 0.375rem;
}

@media (max-width: 480px) {
    .notification-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 60vh;
        margin-top: 0;
        border-radius: var(--radius) var(--radius) 0 0;
    }
}

/* ====================================================================
   QuestHive Design System — qh- prefixed components
   ==================================================================== */

/* --- WS indicators (was missing) --- */

.ws-reconnecting-indicator {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: var(--qh-radius-full);
    color: var(--qh-warning);
    background: var(--qh-warning-bg);
    animation: qh-pulse 1.5s ease-in-out infinite;
}

.ws-disconnected-indicator {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: var(--qh-radius-full);
    color: var(--qh-danger);
    background: var(--qh-danger-bg);
}

/* --- Screen reader only utility --- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ====================================================================
   Button
   ==================================================================== */

.qh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: var(--qh-radius-sm);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.qh-btn:active:not(:disabled) {
    transform: scale(0.97);
}

.qh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qh-btn:focus-visible {
    outline: 2px solid var(--qh-accent);
    outline-offset: 2px;
}

/* Sizes */

.qh-btn-sm {
    min-height: 44px;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.qh-btn-md {
    min-height: 44px;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.qh-btn-lg {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Variants */

.qh-btn-primary {
    background: var(--qh-accent);
    color: #fff;
    border-color: var(--qh-accent);
}
.qh-btn-primary:hover:not(:disabled) {
    background: #2563eb;
    border-color: #2563eb;
}

.qh-btn-secondary {
    background: var(--qh-card);
    color: var(--text);
    border-color: var(--border);
}
.qh-btn-secondary:hover:not(:disabled) {
    background: var(--qh-card-elevated);
    border-color: var(--qh-accent);
}

.qh-btn-danger {
    background: var(--qh-danger);
    color: #fff;
    border-color: var(--qh-danger);
}
.qh-btn-danger:hover:not(:disabled) {
    background: #dc2626;
    border-color: #dc2626;
}

.qh-btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: transparent;
}
.qh-btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.qh-btn-full {
    width: 100%;
}

.qh-btn-loading {
    opacity: 0.7;
    cursor: wait;
}

.qh-btn-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: qh-spin 0.6s linear infinite;
}

.qh-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    line-height: 1;
}

/* ====================================================================
   Card
   ==================================================================== */

.qh-card {
    background: var(--qh-card);
    border: 1px solid var(--border);
    border-radius: var(--qh-radius-md);
    transition: box-shadow 0.15s ease;
}

.qh-card-elevated {
    background: var(--qh-card-elevated);
    border-color: transparent;
    box-shadow: var(--qh-shadow-md);
}

.qh-card-outlined {
    background: transparent;
    border-color: var(--border);
}

.qh-card-clickable {
    cursor: pointer;
}
.qh-card-clickable:hover {
    box-shadow: var(--qh-shadow-sm);
    border-color: var(--qh-accent);
}
.qh-card-clickable:focus-visible {
    outline: 2px solid var(--qh-accent);
    outline-offset: 2px;
}

/* Padding */

.qh-card-pad-none { padding: 0; }
.qh-card-pad-sm { padding: 0.75rem; }
.qh-card-pad-md { padding: 1.25rem; }
.qh-card-pad-lg { padding: 2rem; }

.qh-card-header {
    padding: 1rem 1.25rem 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.qh-card-body {
    padding: 0.75rem 1.25rem;
}

.qh-card-footer {
    padding: 0.75rem 1.25rem 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ====================================================================
   Input / Textarea / Select
   ==================================================================== */

.qh-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.qh-input-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.qh-input-required {
    color: var(--qh-danger);
}

.qh-input,
.qh-textarea,
.qh-select {
    width: 100%;
    min-height: 44px;
    padding: 0.625rem 0.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    background: var(--bg-input);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--qh-radius-sm);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
}

.qh-input:focus,
.qh-textarea:focus,
.qh-select:focus {
    border-color: var(--qh-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.qh-input::placeholder,
.qh-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.qh-input:disabled,
.qh-textarea:disabled,
.qh-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qh-input-error,
.qh-textarea-error,
.qh-select-error {
    border-color: var(--qh-danger);
}
.qh-input-error:focus,
.qh-textarea-error:focus,
.qh-select-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.qh-textarea {
    resize: vertical;
    min-height: 88px;
}

.qh-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.qh-input-error-text {
    font-size: 0.8125rem;
    color: var(--qh-danger);
}

.qh-input-help {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ====================================================================
   Badge
   ==================================================================== */

.qh-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--qh-radius-sm);
    white-space: nowrap;
    line-height: 1;
}

.qh-badge-sm {
    font-size: 0.6875rem;
    padding: 0.125rem 0.375rem;
}

.qh-badge-md {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
}

.qh-badge-success {
    color: var(--qh-success);
    background: var(--qh-success-bg);
}
.qh-badge-warning {
    color: var(--qh-warning);
    background: var(--qh-warning-bg);
}
.qh-badge-danger {
    color: var(--qh-danger);
    background: var(--qh-danger-bg);
}
.qh-badge-info {
    color: var(--qh-info);
    background: var(--qh-info-bg);
}
.qh-badge-neutral {
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.1);
}

/* ====================================================================
   Modal
   ==================================================================== */

.qh-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
    animation: qh-fade-in 0.15s ease;
}

.qh-modal {
    background: var(--qh-card);
    border: 1px solid var(--border);
    border-radius: var(--qh-radius-lg);
    box-shadow: var(--qh-shadow-lg);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: qh-scale-in 0.15s ease;
}

.qh-modal-header {
    padding: 1.25rem 1.25rem 0.75rem;
    flex-shrink: 0;
}

.qh-modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.qh-modal-body {
    padding: 0.75rem 1.25rem;
    overflow-y: auto;
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.qh-modal-footer {
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* ====================================================================
   Toast
   ==================================================================== */

.qh-toast-container {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
    max-width: 360px;
    width: calc(100% - 2rem);
    pointer-events: none;
}

.qh-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--qh-radius-md);
    border: 1px solid var(--border);
    background: var(--qh-card);
    box-shadow: var(--qh-shadow-md);
    pointer-events: auto;
    animation: qh-slide-up 0.25s ease;
    min-height: 44px;
}

.qh-toast-success { border-left: 3px solid var(--qh-success); }
.qh-toast-error { border-left: 3px solid var(--qh-danger); }
.qh-toast-warning { border-left: 3px solid var(--qh-warning); }
.qh-toast-info { border-left: 3px solid var(--qh-info); }

.qh-toast-content {
    flex: 1;
    min-width: 0;
}

.qh-toast-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25rem;
}

.qh-toast-message {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.35rem;
}

.qh-toast-dismiss {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--qh-radius-sm);
    transition: background 0.15s ease;
}
.qh-toast-dismiss:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ====================================================================
   Spinner
   ==================================================================== */

.qh-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qh-spinner svg {
    display: block;
}

.qh-spinner-track {
    opacity: 0.2;
}

.qh-spinner-arc {
    animation: qh-spin 0.8s linear infinite;
    transform-origin: center;
}

.qh-spinner-sm svg { width: 1rem; height: 1rem; }
.qh-spinner-md svg { width: 1.5rem; height: 1.5rem; }
.qh-spinner-lg svg { width: 2.5rem; height: 2.5rem; }

/* ====================================================================
   Skeleton
   ==================================================================== */

.qh-skeleton {
    background: linear-gradient(
        90deg,
        var(--border) 25%,
        rgba(255, 255, 255, 0.06) 50%,
        var(--border) 75%
    );
    background-size: 200% 100%;
    animation: qh-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--qh-radius-sm);
}

.qh-skeleton-text {
    height: 1rem;
    width: 100%;
}

.qh-skeleton-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}

.qh-skeleton-card {
    height: 80px;
    width: 100%;
    border-radius: var(--qh-radius-md);
    margin-bottom: 0.75rem;
}

.qh-skeleton-row {
    height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.qh-skeleton-row::before {
    content: "";
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: inherit;
    flex-shrink: 0;
}

.qh-skeleton-row::after {
    content: "";
    flex: 1;
    height: 0.75rem;
    border-radius: var(--qh-radius-sm);
    background: inherit;
}

.qh-skeleton-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qh-page-skeleton {
    padding: 1.5rem;
    max-width: 600px;
}

/* ====================================================================
   Empty State
   ==================================================================== */

.qh-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.qh-empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.qh-empty-state-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.qh-empty-state-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.5;
    margin: 0 0 1.5rem;
}

.qh-empty-state-action {
    margin-top: 0.5rem;
}

/* ====================================================================
   Tabs
   ==================================================================== */

.qh-tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.qh-tab-bar::-webkit-scrollbar {
    display: none;
}

.qh-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.qh-tab:hover {
    color: var(--text);
}

.qh-tab-active {
    color: var(--qh-accent);
    border-bottom-color: var(--qh-accent);
}

.qh-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    background: var(--qh-danger);
    border-radius: var(--qh-radius-full);
    line-height: 1;
}

/* ====================================================================
   Animations
   ==================================================================== */

@keyframes qh-spin {
    to { transform: rotate(360deg); }
}

@keyframes qh-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes qh-scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes qh-slide-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes qh-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes qh-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ====================================================================
   Reduced motion
   ==================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ====================================================================
   Mobile Card Layouts (Sprint 32)
   ==================================================================== */

/* Instrument cards */
.qh-instrument-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qh-instrument-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qh-instrument-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.qh-instrument-sym {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.qh-instrument-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.qh-instrument-price {
    font-size: 1.25rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    line-height: 1.2;
}

.qh-instrument-row-mid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.qh-instrument-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.qh-instrument-hl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.qh-instrument-row-bot {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.qh-instrument-row-bot .qh-btn {
    flex: 1;
}

/* Order cards */
.qh-order-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qh-order-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qh-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.qh-order-sym {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.qh-order-mid {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.qh-order-mid-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    display: block;
}

.qh-order-mid-value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.qh-order-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.qh-order-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.qh-order-progress {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.125rem;
}

.qh-order-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.qh-order-progress-fill {
    background: var(--qh-success);
}

.qh-order-progress-partial {
    background: var(--qh-warning);
}

/* Filter pills */
.qh-filter-bar {
    display: flex;
    gap: 0.375rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
}

.qh-filter-bar::-webkit-scrollbar {
    display: none;
}

.qh-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--qh-radius-full);
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    min-height: 36px;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.qh-filter-pill:hover {
    border-color: var(--qh-accent);
    color: var(--text);
}

.qh-filter-pill-active {
    background: var(--qh-accent);
    border-color: var(--qh-accent);
    color: #fff;
}

/* Vault holding cards */
.qh-vault-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qh-vault-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.qh-vault-sym {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.qh-vault-balances {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
}

.qh-vault-bal-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    display: block;
}

.qh-vault-bal-value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.qh-vault-total {
    text-align: right;
}

.qh-vault-total-value {
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Transaction activity items */
.qh-tx-activity-feed {
    display: flex;
    flex-direction: column;
}

.qh-tx-activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
}

.qh-tx-activity-item:last-child {
    border-bottom: none;
}

.qh-tx-activity-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.qh-tx-activity-body {
    flex: 1;
    min-width: 0;
}

.qh-tx-activity-desc {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

.qh-tx-activity-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.qh-tx-activity-amount {
    font-size: 0.9375rem;
    font-weight: 700;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* Redemption cards */
.qh-redemption-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qh-redemption-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qh-redemption-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.qh-redemption-id {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.qh-redemption-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.qh-redemption-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Mint request cards */
.qh-mint-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qh-mint-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.qh-mint-info {
    flex: 1;
    min-width: 0;
}

.qh-mint-standard {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qh-mint-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.qh-mint-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.375rem;
    flex-shrink: 0;
}

/* Activity circle icons (replacing text +/-/~) */
.qh-activity-circle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qh-activity-circle svg {
    width: 1rem;
    height: 1rem;
}

.qh-activity-circle-credit {
    background: var(--qh-success-bg);
    color: var(--qh-success);
}

.qh-activity-circle-debit {
    background: var(--qh-danger-bg);
    color: var(--qh-danger);
}

.qh-activity-circle-info {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

/* Dispute detail sections */
.qh-dispute-evidence-item {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--qh-radius-sm);
    margin-bottom: 0.375rem;
    font-size: 0.8rem;
}

.qh-dispute-vote-item {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--qh-radius-sm);
    margin-bottom: 0.375rem;
    font-size: 0.8rem;
}

.qh-dispute-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.qh-dispute-form {
    margin-top: 0.5rem;
}

.qh-dispute-select {
    max-width: 200px;
    margin-bottom: 0.5rem;
}

.qh-dispute-detail-card {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.qh-dispute-meta-row {
    margin-bottom: 0.5rem;
}

.qh-dispute-detail-section {
    margin-bottom: 0.75rem;
}

.qh-voucher-select-btn {
    text-align: left;
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
}

.qh-voucher-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.qh-form-success {
    color: var(--qh-success);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.qh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.qh-section-header h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Market filters updated */
.qh-market-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.qh-market-filter-row {
    display: flex;
    gap: 0.5rem;
}

.qh-market-filter-row > * {
    flex: 1;
    min-width: 0;
}

.qh-market-results-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
}

.qh-detail-panel {
    margin-top: 1.5rem;
    overflow: hidden;
    border-radius: var(--qh-radius-md);
}

.qh-detail-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 0.75rem;
}

.qh-detail-tabs .qh-tab {
    padding: 0.5rem 0.75rem;
}

.qh-detail-close {
    margin-left: auto;
}

.qh-trade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.8125rem;
}

.qh-trade-item:last-child {
    border-bottom: none;
}

.qh-trade-side {
    font-weight: 600;
}

.qh-trade-price {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.qh-trade-qty {
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.qh-trade-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Cancel all bottom bar */
.qh-cancel-all-bar {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Wallet tab content */
.qh-tab-content {
    margin-top: 1rem;
}

/* Success message */
.qh-success-msg {
    color: var(--qh-success);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* ====================================================================
    Onboarding Wizard
    ==================================================================== */

.qh-onboarding {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
}

.qh-onboarding-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.qh-onboarding-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.2s ease;
}

.qh-onboarding-dot-filled {
    background: var(--qh-accent);
}

.qh-onboarding-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.qh-onboarding-step {
    width: 100%;
    animation: qh-fade-in 0.25s ease;
}

.qh-onboarding-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
    text-align: center;
}

.qh-onboarding-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    text-align: center;
}

.qh-onboarding-roles {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qh-onboarding-role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--qh-card);
    border: 2px solid var(--border);
    border-radius: var(--qh-radius-lg);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.qh-onboarding-role-card:hover {
    border-color: var(--qh-accent);
    background: var(--qh-card-elevated);
}

.qh-onboarding-role-card:active {
    transform: scale(0.98);
}

.qh-onboarding-role-card-both {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
    background: transparent;
    border-style: dashed;
}

.qh-onboarding-role-icon {
    color: var(--qh-accent);
}

.qh-onboarding-role-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.qh-onboarding-role-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.qh-onboarding-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qh-onboarding-skip {
    align-self: center;
    margin-top: 1rem;
}

.qh-onboarding-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.qh-onboarding-explain-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--qh-card);
    border: 1px solid var(--border);
    border-radius: var(--qh-radius-md);
    align-items: flex-start;
}

.qh-onboarding-explain-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--qh-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.qh-onboarding-explain-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.qh-onboarding-explain-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.qh-onboarding-get-started {
    margin-top: 0.5rem;
}

.qh-onboarding-footer {
    padding: 1rem 0 0;
    display: flex;
    justify-content: center;
}

.qh-onboarding-next {
    min-width: 120px;
}

/* ====================================================================
    Error Boundary
    ==================================================================== */

.qh-error-boundary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    min-height: 300px;
}

.qh-error-boundary-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.qh-error-boundary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.qh-error-boundary-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    max-width: 320px;
}

.qh-error-boundary-details {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 480px;
    text-align: left;
}

.qh-error-boundary-details summary {
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.qh-error-boundary-stack {
    font-size: 0.75rem;
    color: var(--qh-danger);
    background: var(--qh-danger-bg);
    padding: 0.75rem;
    border-radius: var(--qh-radius-sm);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
}

.qh-error-boundary-actions {
    display: flex;
    gap: 0.75rem;
}

.password-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field-wrapper .password-field-input {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    min-width: 44px;
    min-height: 44px;
}

.password-toggle-btn:hover {
    color: var(--text);
}

.password-toggle-btn svg {
    pointer-events: none;
}

.price-value {
    color: var(--success);
    font-weight: 600;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.page-header h1 {
    margin-bottom: 0;
}

.section-subtitle {
    margin-bottom: 1rem;
}

.mt-sm {
    margin-top: 0.5rem;
}

.mt-md {
    margin-top: 0.75rem;
}

.mb-sm {
    margin-bottom: 0.75rem;
}

.mb-md {
    margin-bottom: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.25rem;
}

.flex-row {
    display: flex;
    gap: 0.5rem;
}

.flex-wrap-gap-sm {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.max-w-sm {
    max-width: 300px;
}

.lh-relaxed {
    line-height: 1.5;
}

.textarea-lg {
    min-height: 100px;
}

.skill-tag {
    background: var(--bg-card);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.composite-total-card {
    padding: 0.75rem;
    background: var(--bg);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.composite-total-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.composite-total-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--success);
}

.cursor-pointer {
    cursor: pointer;
}
