:root {
    --fb-green: #16a34a;
    --fb-green-dark: #15803d;
    --fb-green-soft: #ecfdf5;
    --fb-orange: #f97316;
    --fb-orange-dark: #ea580c;
    --fb-orange-soft: #fff7ed;
    --fb-blue: #2563eb;
    --fb-blue-dark: #1d4ed8;
    --fb-ink: #111827;
    --fb-muted: #6b7280;
    --fb-line: #e5e7eb;
}

.fb-page {
    margin: 0;
    background: #fff;
    color: var(--fb-ink);
    font-family: Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fb-container {
    width: min(100% - 48px, 1280px);
    margin: 0 auto;
}

.fb-navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--fb-line);
    box-shadow: 0 1px 8px rgba(15, 23, 42, .04);
    backdrop-filter: blur(12px);
}

.fb-navbar-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.fb-app-navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--fb-line);
    box-shadow: 0 1px 8px rgba(15, 23, 42, .04);
    backdrop-filter: blur(12px);
}

.fb-logo {
    color: var(--fb-green);
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0;
}

.fb-navbar-links,
.fb-navbar-actions,
.fb-hero-actions,
.fb-wallet-stats {
    display: flex;
    align-items: center;
}

.fb-navbar-links {
    gap: 32px;
}

.fb-navbar-links a {
    color: #374151;
    font-weight: 600;
    text-decoration: none;
}

.fb-navbar-links a:hover {
    color: var(--fb-green);
}

.fb-navbar-actions,
.fb-hero-actions {
    gap: 12px;
}

.fb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.fb-button:hover {
    transform: translateY(-1px);
}

.fb-button-primary {
    background: var(--fb-green);
    color: #fff;
}

.fb-button-primary:hover {
    background: var(--fb-green-dark);
}

.fb-button-secondary {
    background: #fff;
    color: var(--fb-green);
    border-color: var(--fb-green);
}

.fb-button-secondary:hover {
    background: var(--fb-green);
    color: #fff;
}

.fb-button-accent {
    background: var(--fb-orange);
    color: #fff;
}

.fb-button-accent:hover {
    background: var(--fb-orange-dark);
}

.fb-button-large {
    min-height: 56px;
    padding: 15px 30px;
    border-radius: 16px;
}

.fb-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: .75rem;
    font-weight: 950;
}

.fb-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.fb-hero {
    background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
    padding: 96px 0;
}

.fb-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: center;
    gap: 48px;
}

.fb-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 800;
}

.fb-hero-title {
    margin: 0;
    color: var(--fb-ink);
    font-size: clamp(3rem, 7vw, 4.75rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
}

.fb-hero-title span {
    color: var(--fb-green);
}

.fb-hero-copy {
    max-width: 660px;
    margin: 32px 0 0;
    color: #4b5563;
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    line-height: 1.75;
}

.fb-hero-copy strong {
    color: var(--fb-green);
}

.fb-hero-actions {
    flex-wrap: wrap;
    margin-top: 40px;
}

.fb-wallet-wrap {
    display: flex;
    justify-content: center;
}

.fb-wallet-card {
    width: min(100%, 448px);
    padding: 32px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(22, 163, 74, .18), 0 12px 30px rgba(15, 23, 42, .08);
}

.fb-wallet-card h2 {
    margin: 16px 0 4px;
    color: var(--fb-green);
    font-size: clamp(3rem, 6vw, 4rem);
    line-height: 1;
    font-weight: 950;
}

.fb-wallet-card hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid var(--fb-line);
}

.fb-muted {
    margin: 0;
    color: var(--fb-muted);
}

.fb-small {
    font-size: .9rem;
}

.fb-wallet-stats {
    justify-content: space-between;
    gap: 24px;
}

.fb-stat-value {
    margin: 8px 0 0;
    color: var(--fb-ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.fb-accent {
    color: var(--fb-orange);
}

.fb-how {
    padding: 96px 0;
    background: #fff;
}

.fb-section-heading {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}

.fb-section-heading h2 {
    margin: 0;
    color: var(--fb-ink);
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 950;
}

.fb-section-heading p {
    margin: 16px 0 0;
    color: var(--fb-muted);
    font-size: 1.25rem;
}

.fb-steps-grid,
.fb-dashboard-grid,
.fb-actions-grid {
    display: grid;
    gap: 24px;
}

.fb-steps-grid,
.fb-dashboard-grid,
.fb-actions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fb-step-card {
    padding: 32px;
    border-radius: 28px;
    background: var(--fb-green-soft);
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.fb-step-card-accent {
    background: var(--fb-orange-soft);
}

.fb-step-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fff;
    color: var(--fb-green);
    font-size: 1.75rem;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.fb-step-card h3 {
    margin: 0 0 16px;
    color: var(--fb-ink);
    font-size: 1.5rem;
    font-weight: 950;
}

.fb-step-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
}

.fb-conversion-wrap {
    margin-top: 64px;
    text-align: center;
}

.fb-conversion {
    display: inline-flex;
    padding: 18px 32px;
    border-radius: 20px;
    background: var(--fb-green);
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 950;
    box-shadow: 0 15px 35px rgba(22, 163, 74, .25);
}

.fb-restaurants-teaser {
    background: #f9fafb;
}

.fb-restaurants-teaser-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 64px;
}

.fb-restaurants-teaser-pill {
    margin-bottom: 0;
    background: #fff;
    color: var(--fb-ink);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}

.fb-restaurants-teaser-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px;
    border-radius: 28px;
    background: var(--fb-ink);
}

.fb-restaurants-teaser-cta h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 950;
}

.fb-restaurants-teaser-cta p {
    margin: 0;
    max-width: 480px;
    color: #d1d5db;
}

.fb-faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.fb-faq-item {
    padding: 22px 28px;
    border-radius: 18px;
    background: var(--fb-green-soft);
}

.fb-faq-item summary {
    cursor: pointer;
    color: var(--fb-ink);
    font-size: 1.1rem;
    font-weight: 800;
    list-style: none;
}

.fb-faq-item summary::-webkit-details-marker {
    display: none;
}

.fb-faq-item summary::after {
    content: '+';
    float: right;
    color: var(--fb-green);
    font-weight: 950;
}

.fb-faq-item[open] summary::after {
    content: '-';
}

.fb-faq-item p {
    margin: 16px 0 0;
    color: #4b5563;
    line-height: 1.65;
}

.fb-footer {
    padding: 64px 0 32px;
    background: var(--fb-ink);
}

.fb-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.fb-footer-brand .fb-logo {
    color: #fff;
}

.fb-footer-brand p {
    margin: 12px 0 0;
    color: #9ca3af;
}

.fb-footer-links {
    display: flex;
    gap: 64px;
}

.fb-footer-links h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fb-footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 600;
}

.fb-footer-links a:hover {
    color: #fff;
}

.fb-footer-legal {
    padding-top: 24px;
    text-align: center;
}

.fb-footer-legal p {
    margin: 0;
    color: #6b7280;
    font-size: .88rem;
}

.fb-dashboard {
    padding: 32px 0;
}

.fb-panel {
    margin-bottom: 32px;
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.fb-dashboard-welcome h1,
.fb-panel h2 {
    margin: 0;
    color: var(--fb-ink);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 950;
}

.fb-dashboard-welcome p,
.fb-panel p {
    margin: 8px 0 0;
    color: var(--fb-muted);
}

.fb-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fb-panel-heading a {
    color: var(--fb-green);
    font-weight: 900;
    text-decoration: none;
}

.fb-heading-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fb-dashboard-grid {
    margin-bottom: 32px;
}

.fb-metric {
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.fb-metric p {
    margin: 0;
    opacity: .84;
    font-size: .95rem;
}

.fb-metric h2 {
    margin: 12px 0 0;
    font-size: 2.5rem;
    font-weight: 950;
}

.fb-metric small {
    display: block;
    margin-top: 8px;
    color: var(--fb-muted);
    font-weight: 800;
}

.fb-metric-primary,
.fb-metric-accent {
    color: #fff;
}

.fb-metric-primary {
    background: var(--fb-green);
}

.fb-metric-accent {
    background: var(--fb-orange);
}

.fb-metric-primary small,
.fb-metric-accent small {
    color: rgba(255, 255, 255, .84);
}

.fb-metric-light {
    background: #fff;
    color: var(--fb-ink);
}

.fb-metric-warning {
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}

.fb-metric-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.fb-metric-link:hover {
    transform: translateY(-1px);
}

.fb-action-button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.fb-action-primary {
    background: var(--fb-green);
}

.fb-action-accent {
    background: var(--fb-orange);
}

.fb-action-blue {
    background: var(--fb-blue);
}

.fb-action-primary:hover {
    background: var(--fb-green-dark);
}

.fb-action-accent:hover {
    background: var(--fb-orange-dark);
}

.fb-action-blue:hover {
    background: var(--fb-blue-dark);
}

.fb-action-disabled {
    background: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
}

.fb-action-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.fb-restaurant-operation-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 70%);
}

.fb-restaurant-operation-panel h2,
.fb-restaurant-operation-panel p {
    margin: 0;
}

.fb-restaurant-operation-panel p {
    margin-top: 6px;
    color: var(--fb-muted);
    line-height: 1.55;
}

.fb-restaurant-operation-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.fb-restaurant-operation-actions .fb-action-button {
    min-width: 180px;
    padding: 0 22px;
}

.fb-foodcoins-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.fb-foodcoins-panel {
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 22px;
    color: #fff;
}

.fb-foodcoins-panel-generated {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 58%, #f97316 145%);
    box-shadow: 0 20px 48px rgba(22, 163, 74, .18);
}

.fb-foodcoins-panel-received {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 58%, #38bdf8 145%);
    box-shadow: 0 20px 48px rgba(37, 99, 235, .18);
}

.fb-foodcoins-panel h2,
.fb-foodcoins-panel p {
    margin: 0;
}

.fb-foodcoins-panel p {
    margin-top: 6px;
    color: rgba(255, 255, 255, .84);
    line-height: 1.55;
}

.fb-foodcoins-panel-total {
    display: grid;
    justify-items: end;
    gap: 6px;
    min-width: 180px;
}

.fb-foodcoins-panel-total span {
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
    font-weight: 900;
}

.fb-foodcoins-panel-total strong {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 950;
}

.fb-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fb-header-subtitle {
    margin: 6px 0 0;
    color: var(--fb-muted);
}

.fb-wallet-page-card {
    margin-bottom: 32px;
    padding: 36px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    border-radius: 28px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 55%, #f97316 140%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(22, 163, 74, .22);
}

.fb-wallet-page-card .fb-muted {
    color: rgba(255, 255, 255, .82);
}

.fb-wallet-page-card h1 {
    margin: 14px 0 12px;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;
    font-weight: 950;
}

.fb-wallet-status {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-weight: 900;
    white-space: nowrap;
}

.fb-transaction-list {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.fb-transaction-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--fb-line);
}

.fb-transaction-row:last-child {
    border-bottom: 0;
}

.fb-transaction-title {
    margin: 0;
    color: var(--fb-ink) !important;
    font-weight: 900;
}

.fb-transaction-date {
    margin: 4px 0 0 !important;
    color: var(--fb-muted) !important;
    font-size: .92rem;
}

.fb-transaction-credit {
    color: var(--fb-green);
}

.fb-transaction-debit {
    color: var(--fb-orange);
}

.fb-empty-state {
    margin-top: 20px;
    padding: 32px;
    border: 1px dashed #bbf7d0;
    border-radius: 20px;
    background: var(--fb-green-soft);
}

.fb-empty-state h3 {
    margin: 0;
    color: var(--fb-ink);
    font-size: 1.25rem;
    font-weight: 950;
}

.fb-empty-state p {
    max-width: 620px;
    margin: 8px 0 0;
    color: #4b5563;
    line-height: 1.65;
}

.fb-restaurant-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.fb-restaurant-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.fb-restaurant-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.fb-restaurant-card-link:hover,
.fb-restaurant-card-link:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.fb-restaurant-card-link:focus-visible {
    outline: 3px solid #bbf7d0;
    outline-offset: 4px;
}

.fb-restaurant-media {
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dcfce7 0%, #ffedd5 100%);
}

.fb-restaurant-card-inactive {
    opacity: .74;
}

.fb-restaurant-card-inactive:hover,
.fb-restaurant-card-inactive:focus-visible {
    opacity: 1;
}

.fb-restaurant-media .fb-restaurant-inactive-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, .82);
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .02em;
    box-shadow: none;
}

.fb-cashback-unavailable-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #6b7280 !important;
    font-size: .78rem;
    font-weight: 900;
}

.fb-restaurant-media-photo {
    min-height: 190px;
    display: block;
    background: #f3f4f6;
}

.fb-restaurant-media-photo img,
.fb-restaurant-detail-media-photo img,
.fb-gallery-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fb-restaurant-media span {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--fb-green);
    font-size: 2.5rem;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .1);
}

.fb-restaurant-body {
    padding: 24px;
}

.fb-restaurant-meta,
.fb-restaurant-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fb-restaurant-meta {
    color: var(--fb-muted);
    font-size: .85rem;
    font-weight: 800;
}

.fb-promo-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f97316;
    color: #fff !important;
    font-size: .78rem;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(249, 115, 22, .22);
}

.fb-restaurant-body h3 {
    margin: 14px 0 8px;
    color: var(--fb-ink);
    font-size: 1.35rem;
    font-weight: 950;
}

.fb-restaurant-body p {
    min-height: 72px;
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.fb-restaurant-footer {
    margin-top: 22px;
    color: var(--fb-muted);
    font-size: .9rem;
}

.fb-restaurant-footer strong {
    color: var(--fb-green);
    font-weight: 950;
    white-space: nowrap;
}

.fb-visited-restaurant-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 0;
}

.fb-visited-restaurant-stats div {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 68px;
    padding: 10px;
    border: 1px solid var(--fb-line);
    border-radius: 12px;
    background: #f9fafb;
    text-align: center;
}

.fb-visited-restaurant-stats dt,
.fb-visited-restaurant-stats dd {
    margin: 0;
}

.fb-visited-restaurant-stats dt {
    color: var(--fb-muted);
    font-size: .76rem;
    font-weight: 900;
}

.fb-visited-restaurant-stats dd {
    margin-top: 4px;
    color: var(--fb-ink);
    font-size: .9rem;
    font-weight: 950;
}

.fb-restaurant-detail-hero {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    margin-bottom: 32px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.fb-restaurant-detail-media {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #bbf7d0 0%, #fed7aa 100%);
}

.fb-restaurant-detail-media-photo {
    display: block;
    min-height: 460px;
    background: #f3f4f6;
}

.fb-restaurant-detail-media span {
    width: 112px;
    height: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--fb-green);
    font-size: 4rem;
    font-weight: 950;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.fb-restaurant-detail-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fb-restaurant-detail-content h1 {
    margin: 18px 0 16px;
    color: var(--fb-ink);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 950;
}

.fb-rating-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
}

.fb-rating-summary strong {
    color: var(--fb-ink);
    font-size: 1.05rem;
    font-weight: 950;
}

.fb-rating-summary small {
    color: var(--fb-muted);
    font-weight: 800;
}

.fb-stars {
    display: inline-flex;
    gap: 2px;
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1;
}

.fb-stars .fb-star-on {
    color: #f59e0b;
}

.fb-restaurant-detail-content p {
    max-width: 680px;
    margin: 0;
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.75;
}

.fb-detail-address {
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--fb-green-soft);
    color: #166534;
    font-weight: 900;
}

.fb-cashback-badge {
    width: fit-content;
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #fff7ed;
    color: #9a3412;
}

.fb-cashback-badge-inactive {
    background: #f3f4f6;
    color: #4b5563;
}

.fb-cashback-badge-inactive small {
    color: #6b7280;
}

.fb-cashback-badge-promo {
    position: relative;
    padding: 18px 22px;
    border: 2px solid #f97316;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    box-shadow: 0 16px 34px rgba(249, 115, 22, .2);
}

.fb-cashback-badge-promo::before {
    content: "Oferta";
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: .72rem;
    font-weight: 950;
}

.fb-cashback-badge span,
.fb-cashback-badge strong,
.fb-cashback-badge small {
    display: block;
}

.fb-cashback-badge span {
    font-size: .82rem;
    font-weight: 900;
}

.fb-cashback-badge strong {
    font-size: 1.55rem;
    font-weight: 950;
}

.fb-cashback-badge small {
    color: #9a3412;
    font-size: .82rem;
    font-weight: 900;
}

.fb-promo-notice {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
}

.fb-promo-notice strong,
.fb-promo-notice span {
    display: block;
}

.fb-promo-notice strong {
    font-weight: 950;
}

.fb-promo-notice span {
    font-weight: 800;
}

.fb-cashback-history {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--fb-line);
}

.fb-cashback-history h3 {
    margin: 0;
    color: var(--fb-ink);
    font-size: 1rem;
    font-weight: 950;
}

.fb-cashback-history p {
    margin: 0;
    color: var(--fb-muted);
    font-weight: 700;
}

.fb-restaurant-gallery-panel {
    margin-bottom: 24px;
}

.fb-gallery-section {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.fb-gallery-section h3 {
    margin: 0;
    color: var(--fb-ink);
    font-size: 1rem;
    font-weight: 950;
}

.fb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fb-gallery-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--fb-line);
    border-radius: 16px;
    background: #fff;
}

.fb-gallery-card img {
    aspect-ratio: 4 / 3;
}

.fb-gallery-card figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    color: var(--fb-ink);
    font-weight: 900;
}

.fb-photo-form,
.fb-review-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.fb-photo-form {
    grid-template-columns: minmax(160px, .45fr) minmax(180px, .55fr) minmax(220px, 1fr) auto;
    align-items: end;
}

.fb-photo-form label,
.fb-review-form label {
    display: grid;
    gap: 8px;
    color: var(--fb-muted);
    font-size: .9rem;
    font-weight: 900;
}

.fb-photo-form input,
.fb-photo-form select,
.fb-review-form select,
.fb-review-form textarea {
    width: 100%;
    border: 1px solid var(--fb-line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: var(--fb-ink);
    font: inherit;
    font-weight: 800;
}

.fb-review-form textarea {
    min-height: 140px;
    line-height: 1.55;
    resize: vertical;
}

.fb-photo-form input:focus,
.fb-photo-form select:focus,
.fb-review-form select:focus,
.fb-review-form textarea:focus {
    outline: 3px solid #bbf7d0;
    border-color: var(--fb-green);
}

.fb-photo-form small,
.fb-review-form small {
    color: #991b1b;
}

.fb-review-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.fb-review-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--fb-line);
    border-radius: 16px;
    background: #fff;
}

.fb-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.fb-review-head strong,
.fb-review-head span {
    display: block;
}

.fb-review-head strong {
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-review-head span {
    margin-top: 3px;
    color: var(--fb-muted);
    font-size: .86rem;
    font-weight: 800;
}

.fb-review-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
}

.fb-notification-list {
    display: grid;
    gap: 12px;
}

.fb-notification-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--fb-line);
    border-radius: 14px;
    background: #fff;
}

.fb-notification-unread {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.fb-notification-row strong,
.fb-notification-row span,
.fb-notification-row small {
    display: block;
}

.fb-notification-row strong {
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-notification-row span {
    margin-top: 4px;
    color: var(--fb-muted);
    font-weight: 700;
}

.fb-notification-row small {
    margin-top: 4px;
    color: #9ca3af;
    font-size: .86rem;
    font-weight: 800;
}

.fb-notification-row a {
    color: var(--fb-green);
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
}

.fb-notification-badge {
    display: inline-flex;
    width: fit-content;
    margin-top: 0;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: .72rem;
    font-weight: 950;
}

.fb-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.fb-empty-state-compact {
    padding: 24px;
}

.fb-detail-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.fb-restaurant-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.fb-admin-role-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.fb-admin-role-grid div {
    padding: 18px;
    border-radius: 16px;
    background: var(--fb-green-soft);
}

.fb-admin-role-grid span,
.fb-admin-role-grid strong {
    display: block;
}

.fb-admin-role-grid span {
    color: #166534;
    font-weight: 900;
}

.fb-admin-role-grid strong {
    margin-top: 6px;
    color: var(--fb-ink);
    font-size: 1.8rem;
    font-weight: 950;
}

.fb-restaurant-summary-card {
    display: grid;
    gap: 20px;
    padding: 22px;
    border: 1px solid var(--fb-line);
    border-radius: 18px;
    background: #fff;
}

.fb-clickable-card {
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.fb-clickable-card:hover {
    border-color: #86efac;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}

.fb-restaurant-summary-card strong,
.fb-restaurant-summary-card span {
    display: block;
}

.fb-restaurant-summary-card strong {
    color: var(--fb-ink);
    font-size: 1.15rem;
    font-weight: 950;
}

.fb-restaurant-summary-card span {
    margin-top: 4px;
    color: var(--fb-muted);
    font-weight: 700;
}

.fb-restaurant-summary-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.fb-restaurant-summary-card dl div {
    padding: 12px;
    border-radius: 14px;
    background: var(--fb-green-soft);
}

.fb-restaurant-summary-card dt {
    color: #166534;
    font-size: .82rem;
    font-weight: 900;
}

.fb-restaurant-summary-card dd {
    margin: 4px 0 0;
    color: var(--fb-ink);
    font-size: 1.3rem;
    font-weight: 950;
}

.fb-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fb-summary-actions a {
    color: var(--fb-green);
    font-weight: 900;
    text-decoration: none;
}

.fb-summary-cta {
    color: var(--fb-green);
    font-weight: 950;
}

.fb-team-grid {
    margin-top: 28px;
}

.fb-team-list {
    display: grid;
    gap: 12px;
}

.fb-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--fb-line);
}

.fb-team-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.fb-team-row strong,
.fb-team-row span {
    display: block;
}

.fb-team-row span {
    margin-top: 3px;
    color: var(--fb-muted);
    font-size: .9rem;
    font-weight: 700;
}

.fb-info-box {
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--fb-green-soft);
    color: #166534;
    font-weight: 800;
    line-height: 1.5;
}

.fb-scan-shell {
    display: grid;
    gap: 28px;
}

.fb-camera-panel {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.fb-camera-frame {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 22px;
    background: linear-gradient(135deg, #111827 0%, #15803d 100%);
    color: #fff;
}

.fb-camera-target {
    position: relative;
    z-index: 2;
    width: min(64vw, 260px);
    aspect-ratio: 1;
    border: 4px solid rgba(255, 255, 255, .82);
    border-radius: 32px;
    box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .06);
}

.fb-camera-frame p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-weight: 900;
}

.fb-scan-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-camera-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(17, 24, 39, .2), rgba(17, 24, 39, .6));
}

.fb-camera-copy {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fb-camera-copy h1 {
    margin: 0 0 18px;
    color: var(--fb-ink);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 950;
}

.fb-camera-copy p {
    max-width: 640px;
    margin: 0;
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.75;
}

.fb-camera-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.fb-manual-scan {
    max-width: 860px;
    margin: 0 auto;
}

.fb-scan-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.fb-scan-form label {
    display: grid;
    gap: 8px;
    color: var(--fb-ink);
    font-weight: 900;
}

.fb-scan-form input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--fb-ink);
    font: inherit;
    font-weight: 600;
}

.fb-scan-form input:focus {
    outline: 3px solid #bbf7d0;
    border-color: var(--fb-green);
}

.fb-scan-form small {
    color: #991b1b;
}

.fb-qr-card {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.fb-qr-visual {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #f97316 130%);
}

.fb-qr-visual span {
    width: 180px;
    height: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 12px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    background: #fff;
    color: var(--fb-green);
    font-size: 3rem;
    font-weight: 950;
    box-shadow: 0 22px 46px rgba(15, 23, 42, .18);
}

.fb-qr-content {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fb-qr-content h1 {
    margin: 12px 0 18px;
    color: var(--fb-ink);
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 950;
}

.fb-qr-content p {
    max-width: 620px;
    margin: 0 0 28px;
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.75;
}

.fb-qr-locked {
    padding: 22px;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    background: #fff7ed;
}

.fb-qr-locked h3 {
    margin: 0 0 8px;
    color: #9a3412;
    font-size: 1.2rem;
    font-weight: 950;
}

.fb-qr-locked p {
    margin: 0;
    color: #9a3412;
    font-size: 1rem;
}

.fb-ticket-form-panel {
    max-width: 760px;
    margin: 0 auto;
}

.fb-ticket-form {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.fb-team-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.fb-ticket-form label {
    display: grid;
    gap: 8px;
    color: var(--fb-ink);
    font-weight: 900;
}

.fb-team-form label {
    display: grid;
    gap: 8px;
    color: var(--fb-ink);
    font-weight: 900;
}

.fb-ticket-form input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--fb-ink);
    font: inherit;
    font-weight: 600;
}

.fb-team-form input,
.fb-team-form select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--fb-ink);
    background: #fff;
    font: inherit;
    font-weight: 600;
}

.fb-ticket-form select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--fb-ink);
    background: #fff;
    font: inherit;
    font-weight: 600;
}

.fb-ticket-form input:focus,
.fb-ticket-form select:focus {
    outline: 3px solid #bbf7d0;
    border-color: var(--fb-green);
}

.fb-team-form input:focus,
.fb-team-form select:focus {
    outline: 3px solid #bbf7d0;
    border-color: var(--fb-green);
}

.fb-ticket-form small {
    color: #991b1b;
}

.fb-team-form small {
    color: #991b1b;
}

.fb-team-form button {
    align-self: end;
}

.fb-ticket-form em {
    color: var(--fb-muted);
    font-size: .9rem;
    font-style: normal;
    font-weight: 600;
}

.fb-reward-claim-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    gap: 28px;
    align-items: stretch;
}

.fb-reward-summary,
.fb-reward-details,
.fb-success-card {
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.fb-reward-summary {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #fff7ed 100%);
}

.fb-bill-card .fb-reward-summary {
    border: 2px solid #22c55e;
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 48%, #ffffff 100%);
    box-shadow: 0 24px 56px rgba(22, 163, 74, .2);
}

.fb-bill-card .fb-reward-summary .fb-muted {
    color: #15803d;
    font-size: 1rem;
    font-weight: 950;
    text-transform: uppercase;
}

.fb-reward-summary h1,
.fb-success-card h1 {
    margin: 14px 0 16px;
    color: var(--fb-green);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1;
    font-weight: 950;
}

.fb-bill-card .fb-reward-summary h1 {
    color: #14532d;
    font-size: clamp(4rem, 10vw, 7rem);
    letter-spacing: 0;
}

.fb-reward-summary p,
.fb-success-card p {
    max-width: 680px;
    margin: 0;
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.75;
}

.fb-reward-details {
    padding: 24px;
    display: grid;
    gap: 20px;
}

.fb-claim-link-box {
    display: grid;
    gap: 6px;
    margin-top: 28px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #bbf7d0;
}

.fb-claim-link-box span {
    color: var(--fb-muted);
    font-size: .86rem;
    font-weight: 900;
}

.fb-claim-link-box strong {
    overflow-wrap: anywhere;
    color: var(--fb-ink);
    font-size: .92rem;
}

.fb-claim-qr {
    display: grid;
    gap: 16px;
    place-items: center;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #fff7ed 100%);
    text-align: center;
}

.fb-claim-qr-frame {
    width: min(100%, 260px);
    aspect-ratio: 1;
    border: 14px solid #fff;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .14);
}

.fb-claim-qr-frame img {
    width: 100%;
    height: 100%;
    display: block;
}

.fb-claim-qr p {
    max-width: 360px;
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
}

.fb-claim-form {
    margin: 0;
}

.fb-claim-button {
    width: 100%;
    min-height: 76px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--fb-green) 0%, #22c55e 52%, var(--fb-orange) 130%);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 950;
    box-shadow: 0 18px 36px rgba(22, 163, 74, .28);
    transition: box-shadow .15s ease, transform .15s ease;
}

.fb-claim-button:hover {
    box-shadow: 0 22px 46px rgba(22, 163, 74, .34);
    transform: translateY(-2px);
}

.fb-thanks-box {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid #bbf7d0;
    color: #166534;
    font-weight: 900;
    line-height: 1.5;
}

.fb-ticket-preview {
    border: 1px solid var(--fb-line);
    border-radius: 18px;
    padding: 14px;
}

.fb-ticket-preview summary {
    cursor: pointer;
    color: var(--fb-ink);
    font-weight: 900;
}

.fb-ticket-preview img,
.fb-ticket-placeholder {
    width: 100%;
    margin-top: 14px;
    min-height: 260px;
    border-radius: 20px;
    object-fit: cover;
    background: var(--fb-green-soft);
}

.fb-ticket-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    font-weight: 950;
}

.fb-ticket-preview-qr img {
    width: min(100%, 280px);
    min-height: 0;
    display: block;
    margin: 18px auto 0;
    object-fit: contain;
    background: #fff;
}

.fb-ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.fb-ticket-card {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--fb-line);
    border-radius: 18px;
    background: #fff;
}

.fb-admin-reward-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.fb-admin-reward-row {
    border: 1px solid var(--fb-line);
    border-radius: 14px;
    background: #fff;
}

.fb-admin-reward-header,
.fb-admin-reward-row summary {
    display: grid;
    grid-template-columns: 90px 150px minmax(180px, 1fr) minmax(150px, .8fr) 130px auto;
    align-items: center;
    gap: 14px;
}

.fb-admin-reward-row summary {
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.fb-admin-reward-header {
    padding: 0 18px 10px;
    color: var(--fb-muted);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.fb-admin-reward-header span {
    min-width: 0;
}

.fb-admin-reward-header-end {
    text-align: right;
}

.fb-admin-reward-row summary::-webkit-details-marker {
    display: none;
}

.fb-admin-reward-row summary::after {
    content: "+";
    color: var(--fb-green);
    font-size: 1.25rem;
    font-weight: 950;
}

.fb-admin-reward-row[open] summary::after {
    content: "-";
}

.fb-admin-reward-row summary span,
.fb-admin-reward-row summary strong,
.fb-admin-reward-row summary b {
    min-width: 0;
}

.fb-admin-reward-row summary span {
    color: var(--fb-muted);
    font-size: .92rem;
    font-weight: 800;
}

.fb-admin-reward-row summary strong {
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-admin-reward-row summary b {
    color: var(--fb-ink);
    font-weight: 950;
    text-align: right;
}

.fb-admin-reward-number {
    color: var(--fb-green) !important;
}

.fb-admin-reward-detail {
    display: grid;
    gap: 18px;
    padding: 0 18px 18px;
}

.fb-support-ticket-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.fb-support-ticket-row summary {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

.fb-support-ticket-summary-main {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.fb-support-ticket-summary-main span,
.fb-support-ticket-summary-main strong,
.fb-support-ticket-summary-main small {
    min-width: 0;
    display: block;
    overflow-wrap: anywhere;
}

.fb-support-ticket-summary-main span {
    color: var(--fb-muted);
    font-size: .86rem;
    font-weight: 800;
}

.fb-support-ticket-summary-main strong {
    color: var(--fb-ink);
    font-size: .98rem;
    font-weight: 950;
}

.fb-support-ticket-summary-main small {
    color: var(--fb-muted);
    font-size: .82rem;
    font-weight: 800;
}

.fb-support-admin-row summary {
    grid-template-columns: 90px 150px minmax(160px, .8fr) minmax(180px, 1fr) minmax(120px, .5fr) 130px auto;
}

.fb-support-form,
.fb-support-admin-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.fb-support-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fb-support-form-wide,
.fb-support-admin-form label {
    grid-column: 1 / -1;
}

.fb-support-form label,
.fb-support-admin-form label {
    display: grid;
    gap: 8px;
    color: var(--fb-muted);
    font-size: .9rem;
    font-weight: 900;
}

.fb-support-form input,
.fb-support-form select,
.fb-support-form textarea,
.fb-support-admin-form select,
.fb-support-admin-form textarea {
    width: 100%;
    border: 1px solid var(--fb-line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: var(--fb-ink);
    font: inherit;
    font-weight: 800;
}

.fb-support-form textarea,
.fb-support-admin-form textarea {
    min-height: 140px;
    line-height: 1.55;
    resize: vertical;
}

.fb-support-form input:focus,
.fb-support-form select:focus,
.fb-support-form textarea:focus,
.fb-support-admin-form select:focus,
.fb-support-admin-form textarea:focus {
    outline: 3px solid #bbf7d0;
    border-color: var(--fb-green);
}

.fb-support-form small,
.fb-support-admin-form small {
    color: #991b1b;
}

.fb-support-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.fb-bill-confirm-form,
.fb-bill-slider-panel,
.fb-bill-live-summary {
    display: grid;
    gap: 14px;
}

.fb-bill-slider-panel {
    padding: 16px;
    border: 1px solid var(--fb-line);
    border-radius: 16px;
    background: #fff;
}

.fb-bill-slider-panel label {
    display: grid;
    gap: 8px;
    color: var(--fb-muted);
    font-weight: 900;
}

.fb-bill-slider-panel input[type="range"] {
    width: 100%;
    accent-color: var(--fb-green);
}

.fb-bill-slider-panel input[type="number"] {
    width: 100%;
    border: 1px solid var(--fb-line);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--fb-ink);
    font: inherit;
    font-weight: 900;
}

.fb-bill-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--fb-green-soft);
    color: #166534;
}

.fb-bill-balance span,
.fb-bill-balance strong {
    display: block;
}

.fb-bill-balance span {
    font-size: .86rem;
    font-weight: 900;
}

.fb-bill-balance strong {
    font-size: 1.1rem;
    font-weight: 950;
}

.fb-bill-live-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fb-bill-live-summary div {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 86px;
    padding: 14px;
    border: 1px solid var(--fb-line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.fb-bill-live-summary .fb-bill-total-account {
    grid-column: 1 / -1;
    min-height: 104px;
    border: 1px solid #bbf7d0;
    background: #f8fafc;
    box-shadow: none;
}

.fb-bill-live-summary .fb-bill-total-account dt {
    color: var(--fb-muted);
    font-size: .86rem;
    text-transform: none;
}

.fb-bill-live-summary .fb-bill-total-account dd {
    color: var(--fb-ink);
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    line-height: 1;
}

.fb-bill-live-summary dt,
.fb-bill-live-summary dd {
    margin: 0;
}

.fb-bill-live-summary dt {
    color: var(--fb-muted);
    font-size: .82rem;
    font-weight: 900;
}

.fb-bill-live-summary dd {
    color: var(--fb-ink);
    font-size: 1.05rem;
    font-weight: 950;
}

.fb-risk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fb-risk-grid article {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 18px;
    border: 1px solid var(--fb-line);
    border-radius: 16px;
    background: #fff;
}

.fb-risk-grid h3,
.fb-risk-grid p {
    margin: 0;
}

.fb-risk-grid h3 {
    color: var(--fb-ink);
    font-size: 1rem;
    font-weight: 950;
}

.fb-risk-grid p {
    color: var(--fb-muted);
    font-weight: 700;
}

.fb-risk-list {
    display: grid;
    gap: 10px;
}

.fb-risk-row {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
}

.fb-risk-row a {
    display: grid;
    gap: 6px;
    text-decoration: none;
}

.fb-risk-row strong,
.fb-risk-row span {
    display: block;
}

.fb-risk-row strong {
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-risk-row a > span {
    color: #9a3412;
    font-size: .9rem;
    font-weight: 800;
}

.fb-risk-review-form {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.fb-risk-review-form input {
    width: 100%;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--fb-ink);
    font: inherit;
    font-weight: 700;
}

.fb-risk-review-form input:focus {
    outline: 3px solid #fed7aa;
    border-color: #f97316;
}

.fb-risk-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fb-risk-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .76rem !important;
    font-weight: 950 !important;
    line-height: 1;
}

.fb-risk-high {
    background: #fee2e2;
    color: #991b1b !important;
}

.fb-risk-medium {
    background: #ffedd5;
    color: #9a3412 !important;
}

.fb-risk-low {
    background: #dbeafe;
    color: #1d4ed8 !important;
}

.fb-risk-none {
    background: #f3f4f6;
    color: #4b5563 !important;
}

.fb-risk-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
}

.fb-risk-box strong {
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-risk-box ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
    font-weight: 700;
}

.fb-risk-box-high {
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.fb-risk-box-medium {
    border: 1px solid #fed7aa;
    background: #fff7ed;
}

.fb-risk-box-low {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.fb-settlement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.fb-settlement-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--fb-line);
    background: #fff;
    display: grid;
    gap: 16px;
}

.fb-settlement-card-header strong {
    display: block;
    color: var(--fb-ink);
    font-size: 1.05rem;
    font-weight: 950;
}

.fb-settlement-card-header span {
    color: var(--fb-muted);
    font-size: .85rem;
    font-weight: 700;
}

.fb-settlement-card-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fb-settlement-card-metrics div {
    padding: 12px;
    border-radius: 12px;
    background: #f9fafb;
}

.fb-settlement-card-metrics p {
    margin: 0 0 4px;
    color: var(--fb-muted);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.fb-settlement-card-metrics strong {
    color: var(--fb-ink);
    font-size: 1.1rem;
    font-weight: 950;
}

.fb-settlement-card-due {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
}

.fb-settlement-card-due span {
    font-size: .85rem;
    font-weight: 800;
}

.fb-settlement-card-due strong {
    font-size: 1.15rem;
    font-weight: 950;
}

.fb-settlement-due-owes {
    background: var(--fb-orange-soft);
    color: var(--fb-orange-dark);
}

.fb-settlement-due-favor {
    background: #eff6ff;
    color: var(--fb-blue-dark);
}

.fb-settlement-due-even {
    background: var(--fb-green-soft);
    color: var(--fb-green-dark);
}

.fb-settlement-card-since {
    margin: 0;
    color: var(--fb-muted);
    font-size: .78rem;
    font-weight: 700;
}

.fb-settlement-reset-button {
    width: 100%;
}

.fb-admin-user-row-header,
.fb-admin-user-row summary {
    grid-template-columns: 90px 150px minmax(150px, 1fr) minmax(190px, 1fr) 130px auto 140px 120px;
}

.fb-admin-restaurant-row-header,
.fb-admin-restaurant-row summary {
    grid-template-columns: 70px minmax(140px, 1fr) 110px 110px 100px 70px minmax(120px, .8fr) 90px 70px 70px 140px 90px 100px;
}

.fb-admin-finance-row-header,
.fb-admin-finance-row summary {
    grid-template-columns: 70px minmax(140px, 1fr) minmax(160px, 1fr) 170px 140px;
}

.fb-admin-user-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fb-admin-user-detail-grid article {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #f9fafb;
}

.fb-admin-user-detail-grid h3 {
    margin: 0;
    color: var(--fb-ink);
    font-size: .98rem;
    font-weight: 950;
}

.fb-admin-user-detail-grid p {
    margin: 0;
    color: var(--fb-muted);
    font-weight: 700;
}

.fb-mini-list {
    display: grid;
    gap: 8px;
}

.fb-mini-list span {
    color: var(--fb-muted);
    font-size: .9rem;
    font-weight: 800;
}

.fb-billing-restaurant {
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
}

.fb-billing-restaurant:first-of-type {
    border-top: none;
    padding-top: 0;
}

.fb-billing-restaurant-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.fb-billing-restaurant-status span {
    color: var(--fb-muted);
    font-size: .88rem;
    font-weight: 700;
}

.fb-bank-transfer-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.fb-bank-transfer-details h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 900;
}

.fb-lot-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.fb-lot-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(120px, .6fr));
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--fb-line);
    border-radius: 14px;
    background: #fff;
}

.fb-lot-row-protected {
    border-color: #fed7aa;
    background: #fff7ed;
}

.fb-lot-row strong,
.fb-lot-row span,
.fb-lot-row small {
    display: block;
}

.fb-lot-row strong {
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-lot-row span {
    margin-top: 3px;
    color: var(--fb-muted);
    font-weight: 850;
}

.fb-lot-row small {
    color: #166534;
    font-size: .78rem;
    font-weight: 950;
}

.fb-ticket-card-head,
.fb-ticket-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.fb-ticket-card-head strong,
.fb-ticket-card-head span {
    display: block;
}

.fb-ticket-card-head strong {
    color: var(--fb-ink);
    font-size: 1.35rem;
    font-weight: 950;
}

.fb-ticket-card-head span {
    margin-top: 4px;
    color: var(--fb-muted);
    font-size: .9rem;
    font-weight: 700;
}

.fb-ticket-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.fb-ticket-data div {
    padding: 12px;
    border-radius: 14px;
    background: var(--fb-green-soft);
}

.fb-ticket-data .fb-ticket-data-highlight {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 2px solid #86efac;
    background: #f0fdf4;
}

.fb-ticket-data .fb-ticket-data-highlight dt {
    color: #15803d;
    font-size: .92rem;
}

.fb-ticket-data .fb-ticket-data-highlight dd {
    margin: 0;
    color: #14532d;
    font-size: 1.28rem;
}

.fb-ticket-data dt {
    color: #166534;
    font-size: .8rem;
    font-weight: 900;
}

.fb-ticket-data dd {
    margin: 4px 0 0;
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-ticket-card-actions {
    justify-content: flex-start;
}

.fb-ticket-card-actions a,
.fb-ticket-card-actions span {
    color: var(--fb-green);
    font-weight: 900;
    text-decoration: none;
}

.fb-ticket-note {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    background: #f9fafb;
    color: var(--fb-muted);
    font-size: .9rem;
}

.fb-ticket-note strong {
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-ticket-cancel-form {
    display: grid;
    gap: 10px;
    padding-top: 4px;
}

.fb-ticket-cancel-form label {
    display: grid;
    gap: 6px;
    color: var(--fb-muted);
    font-size: .86rem;
    font-weight: 900;
}

.fb-ticket-cancel-form input {
    width: 100%;
    border: 1px solid var(--fb-line);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--fb-ink);
    font-weight: 800;
}

.fb-pagination {
    margin-top: 24px;
}

.fb-success-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px;
    text-align: center;
}

.fb-success-card .fb-muted {
    color: var(--fb-muted);
}

.fb-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.fb-activity-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.fb-activity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--fb-line);
}

.fb-activity-row:last-child {
    border-bottom: 0;
}

.fb-activity-row strong,
.fb-activity-row span,
.fb-activity-row small {
    display: block;
}

.fb-activity-row strong {
    color: var(--fb-ink);
    font-weight: 950;
}

.fb-activity-row span {
    margin-top: 4px;
    color: var(--fb-muted);
    font-size: .92rem;
}

.fb-activity-row small {
    margin-top: 2px;
    color: #9ca3af;
    font-size: .86rem;
}

.fb-activity-row b {
    white-space: nowrap;
    font-size: 1rem;
}

.fb-ticket-inline-detail {
    margin-top: 10px;
    max-width: 620px;
}

.fb-ticket-inline-detail summary {
    color: var(--fb-green);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 950;
}

.fb-ticket-inline-detail[open] {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #d1fae5;
    border-radius: 16px;
    background: #fbfefc;
}

.fb-ticket-inline-detail .fb-ticket-data {
    margin-top: 12px;
}

.fb-ticket-inline-detail a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--fb-green);
    font-size: .88rem;
    font-weight: 950;
    text-decoration: none;
}

.fb-load-more-button {
    justify-self: center;
    border: 1px solid #86efac;
    border-radius: 999px;
    padding: 10px 18px;
    background: #f0fdf4;
    color: #15803d;
    cursor: pointer;
    font: inherit;
    font-weight: 950;
}

.fb-load-more-button:hover {
    background: #dcfce7;
}

.fb-reward-status-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fb-reward-status-wrap a {
    color: var(--fb-green);
    font-weight: 900;
    text-decoration: none;
}

.fb-link-button {
    border: 0;
    background: transparent;
    color: var(--fb-green);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.fb-link-button-danger {
    color: #dc2626;
}

.fb-application-row {
    align-items: flex-start;
}

.fb-status-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 950;
}

.fb-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.fb-status-open {
    background: #dbeafe;
    color: #1d4ed8;
}

.fb-status-in_progress {
    background: #fef3c7;
    color: #92400e;
}

.fb-status-answered {
    background: #dcfce7;
    color: #166534;
}

.fb-status-approved {
    background: #dcfce7;
    color: #166534;
}

.fb-status-active {
    background: #dcfce7;
    color: #166534;
}

.fb-status-paid {
    background: #dcfce7;
    color: #166534;
}

.fb-status-warning {
    background: #fef3c7;
    color: #92400e;
}

.fb-status-draft {
    background: #f3f4f6;
    color: #4b5563;
}

.fb-status-paused {
    background: #fef3c7;
    color: #92400e;
}

.fb-status-claimed {
    background: #dcfce7;
    color: #166534;
}

.fb-status-pending_approval {
    background: #dbeafe;
    color: #1d4ed8;
}

.fb-status-expired {
    background: #fee2e2;
    color: #991b1b;
}

.fb-status-cancelled {
    background: #f3f4f6;
    color: #4b5563;
}

.fb-status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.fb-status-premium {
    background: #fef3c7;
    color: #92400e;
}

.fb-alert {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 800;
}

.fb-alert-success {
    background: #dcfce7;
    color: #166534;
}

.fb-alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.fb-admin-actions,
.fb-admin-reject-form {
    display: grid;
    gap: 10px;
}

.fb-premium-admin-card {
    border-color: #fde68a !important;
    background: #fffbeb !important;
}

.fb-premium-admin-card p strong {
    color: #92400e;
}

.fb-admin-actions {
    min-width: min(100%, 240px);
}

.fb-admin-reject-form input {
    width: 100%;
    border: 1px solid var(--fb-line);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--fb-ink);
    font-weight: 800;
}

.fb-admin-filter-form {
    display: grid;
    grid-template-columns: minmax(180px, .45fr) minmax(260px, 1fr) auto;
    align-items: end;
    gap: 16px;
}

.fb-admin-user-filter-form {
    grid-template-columns: minmax(160px, .35fr) minmax(160px, .35fr) minmax(260px, 1fr) auto;
}

.fb-admin-restaurant-filter-form {
    grid-template-columns: minmax(160px, .35fr) minmax(180px, .45fr) minmax(260px, 1fr) auto;
}

.fb-admin-filter-form label {
    display: grid;
    gap: 8px;
    color: var(--fb-muted);
    font-size: .9rem;
    font-weight: 900;
}

.fb-admin-filter-form select,
.fb-admin-filter-form input,
.fb-admin-filter-form textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--fb-line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: var(--fb-ink);
    font-weight: 800;
}

.fb-admin-filter-form textarea {
    resize: vertical;
}

.fb-admin-filter-wide {
    grid-column: 1 / -1;
}

.fb-admin-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fb-wallet-payment-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    align-items: end;
    gap: 24px;
}

.fb-inline-form {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.fb-inline-form label {
    display: grid;
    gap: 8px;
    color: var(--fb-ink);
    font-weight: 900;
}

.fb-inline-form input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--fb-ink);
    font: inherit;
    font-weight: 600;
}

.fb-inline-form input:focus {
    outline: 3px solid #bbf7d0;
    border-color: var(--fb-green);
}

.fb-inline-form small {
    color: #991b1b;
}

.fb-cashback-form {
    grid-template-columns: minmax(0, 1fr) auto;
}

.fb-cashback-control {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(140px, 180px) auto;
    align-items: end;
    gap: 12px;
}

.fb-cashback-control input[type="range"] {
    min-height: 44px;
    padding: 0;
    border: 0;
    accent-color: var(--fb-green);
}

.fb-cashback-control input[type="range"]:focus {
    outline: 3px solid #bbf7d0;
    border-color: transparent;
}

.fb-cashback-current {
    min-width: 126px;
    display: grid;
    gap: 2px;
    padding: 11px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: var(--fb-green-soft);
    color: #166534;
    text-align: center;
}

.fb-cashback-current strong {
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1;
}

.fb-cashback-current span {
    font-size: .78rem;
    font-weight: 900;
}

.fb-cashback-schedule {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr)) minmax(220px, .8fr);
    gap: 12px;
    align-items: end;
}

.fb-cashback-indefinite {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
}

.fb-cashback-indefinite strong {
    font-weight: 950;
}

.fb-cashback-indefinite span {
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.4;
}

.fb-customer-guide-hero {
    margin-bottom: 24px;
    padding: 34px;
    border: 1px solid #d1fae5;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(220, 252, 231, .92), rgba(255, 247, 237, .92)),
        #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.fb-customer-guide-hero h1 {
    max-width: 780px;
    margin: 16px 0 10px;
    color: var(--fb-ink);
    font-size: clamp(2rem, 4vw, 4.4rem);
    font-weight: 950;
    line-height: .98;
}

.fb-customer-guide-hero p {
    max-width: 720px;
    color: var(--fb-muted);
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.7;
}

.fb-customer-guide-list {
    display: grid;
    gap: 22px;
}

.fb-customer-guide-step {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(260px, .72fr);
    align-items: center;
    gap: 24px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
}

.fb-customer-guide-step:nth-child(even) {
    grid-template-columns: minmax(260px, .72fr) minmax(0, .92fr);
}

.fb-customer-guide-step:nth-child(even) .fb-customer-guide-copy {
    order: 2;
}

.fb-customer-guide-step:nth-child(even) .fb-customer-guide-image {
    order: 1;
}

.fb-customer-guide-copy {
    padding: 18px;
}

.fb-customer-guide-copy span {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    background: var(--fb-green);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 950;
    box-shadow: 0 14px 30px rgba(22, 163, 74, .24);
}

.fb-customer-guide-copy h2 {
    margin: 18px 0 10px;
    color: var(--fb-ink);
    font-size: clamp(1.45rem, 2.2vw, 2.45rem);
    font-weight: 950;
    line-height: 1.08;
}

.fb-customer-guide-copy p {
    max-width: 620px;
    color: var(--fb-muted);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.7;
}

.fb-customer-guide-image {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    background: #f8fafc;
}

.fb-customer-guide-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 900px) {
    .fb-navbar-links {
        display: none;
    }

    .fb-hero-grid,
    .fb-restaurant-detail-hero,
    .fb-detail-grid,
    .fb-qr-card,
    .fb-reward-claim-card,
    .fb-camera-panel,
    .fb-steps-grid,
    .fb-dashboard-grid,
    .fb-actions-grid,
    .fb-restaurant-grid,
    .fb-footer-inner {
        grid-template-columns: 1fr;
    }

    .fb-footer-links {
        gap: 32px;
    }

    .fb-customer-guide-step,
    .fb-customer-guide-step:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .fb-customer-guide-step:nth-child(even) .fb-customer-guide-copy,
    .fb-customer-guide-step:nth-child(even) .fb-customer-guide-image {
        order: initial;
    }

    .fb-admin-role-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fb-risk-grid {
        grid-template-columns: 1fr;
    }

    .fb-risk-review-form {
        grid-template-columns: 1fr;
    }

    .fb-visited-restaurant-stats {
        grid-template-columns: 1fr;
    }

    .fb-gallery-grid,
    .fb-photo-form {
        grid-template-columns: 1fr;
    }

    .fb-hero {
        padding: 64px 0;
    }

    .fb-wallet-payment-panel {
        grid-template-columns: 1fr;
    }

    .fb-restaurant-operation-panel,
    .fb-foodcoins-panel,
    .fb-restaurant-operation-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fb-foodcoins-summary-grid {
        grid-template-columns: 1fr;
    }

    .fb-foodcoins-panel-total {
        justify-items: start;
        min-width: 0;
    }

    .fb-restaurant-operation-actions .fb-action-button {
        width: 100%;
    }

    .fb-cashback-form,
    .fb-cashback-control,
    .fb-cashback-schedule,
    .fb-bill-live-summary {
        grid-template-columns: 1fr;
    }

    .fb-team-form {
        grid-template-columns: 1fr;
    }

    .fb-admin-filter-form {
        grid-template-columns: 1fr;
    }

    .fb-admin-reward-row summary {
        grid-template-columns: 1fr;
    }

    .fb-admin-reward-header {
        display: none;
    }

    .fb-support-ticket-list .fb-admin-reward-row summary,
    .fb-support-admin-row summary {
        grid-template-columns: 1fr;
    }

    .fb-admin-reward-row summary b {
        text-align: left;
    }

    .fb-support-form {
        grid-template-columns: 1fr;
    }

    .fb-admin-user-detail-grid {
        grid-template-columns: 1fr;
    }

    .fb-lot-row {
        grid-template-columns: 1fr;
    }

    .fb-wallet-page-card,
    .fb-header-row {
        flex-direction: column;
    }

    .fb-header-row {
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .fb-container {
        width: min(100% - 32px, 1280px);
    }

    .fb-navbar-inner {
        min-height: 72px;
    }

    .fb-logo {
        font-size: 1.5rem;
    }

    .fb-navbar-actions {
        gap: 8px;
    }

    .fb-navbar-actions .fb-button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: .9rem;
    }

    .fb-wallet-card,
    .fb-panel,
    .fb-step-card {
        padding: 24px;
    }

    .fb-inline-form {
        grid-template-columns: 1fr;
    }

    .fb-cashback-control {
        grid-template-columns: 1fr;
    }
}
