/* ===== CSS Custom Properties ===== */
:root {
    --primary: #E15635;
    --primary-dark: #B8391F;
    --primary-light: #E87B5D;
    --primary-lighter: #FBE3DA;
    --primary-lightest: #FDF4EF;
    --secondary: #15120F;
    --secondary-dark: #0A0908;
    --secondary-light: #2A2520;
    --accent: #D89B3A;
    --success: #27ae60;
    --success-light: #d5f5e3;
    --warning: #f39c12;
    --warning-light: #fef3cd;
    --danger: #e74c3c;
    --danger-light: #fadbd8;
    --info: #3498db;
    --info-light: #d6eaf8;
    --paper: #FBF6EB;
    --forest: #1C3D30;
    --gold: #D89B3A;
    --plum: #5B2943;
    --sky: #2E6B7A;
    --coral: #E15635;
    --ink: #15120F;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --white: #ffffff;
    --black: #000000;
    --border: #e0e0e0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --sidebar-width: 260px;
    --header-height: 64px;
    --font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    --transition: all 0.2s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

input, select, textarea {
    font-family: var(--font-family);
    outline: none;
    transition: var(--transition);
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

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

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

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: none;
    padding: 8px 12px;
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-800);
    box-shadow: none;
    transform: none;
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #219a52;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.9rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
}

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

/* ===== Cards ===== */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.card-hover:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-light);
    color: #9a7b0a;
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.badge-info {
    background: var(--info-light);
    color: var(--info);
}

.badge-neutral {
    background: var(--gray-200);
    color: var(--gray-600);
}

/* ===== Tables ===== */
.table-container {
    overflow-x: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

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

.data-table thead {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.data-table tbody tr:hover {
    background: var(--primary-lightest);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== Navigation / Top Bar (Landing) ===== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 2rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.landing-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.nav-logo {
    flex-shrink: 0;
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
}

.nav-logo-mark-img {
    height: 30px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav-logo-wordmark {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
}

.nav-logo-wordmark em {
    color: var(--coral);
    font-style: italic;
}

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

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 2rem 80px;
    text-align: center;
    background: linear-gradient(170deg, var(--white) 0%, var(--primary-lightest) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225,86,53,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216,155,58,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-mark {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    text-decoration: none;
    position: relative;
    z-index: 2;
    animation: hero-mark-float 6s ease-in-out infinite;
}
.hero-mark img {
    width: 120px;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(225, 86, 53, 0.18));
}
.hero-wordmark {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--primary-dark, #1a1a1a);
    letter-spacing: -1px;
}
.hero-wordmark em {
    font-style: italic;
    color: #E15635;
    margin: 0 -1px;
}
@keyframes hero-mark-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-mark { animation: none; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4.25rem;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--secondary);
    max-width: 800px;
    margin: 0 auto 1.25rem;
}

.hero h1 span {
    color: var(--primary);
    font-style: italic;
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== Features Section ===== */
.section {
    padding: 80px 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--primary-lighter);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Pricing Section ===== */
.pricing-section {
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 2px solid var(--gray-200);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--success-light);
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.pricing-note svg {
    vertical-align: middle;
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    padding: 80px 2rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ===== Footer ===== */
.landing-footer {
    padding: 2rem;
    text-align: center;
    background: var(--secondary-dark);
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ===== Auth Pages ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(170deg, var(--primary-lightest) 0%, var(--white) 100%);
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo a {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.auth-logo-mark-img {
    height: 56px;
    width: auto;
    display: block;
}

.auth-logo-wordmark {
    font-size: 2rem;
    line-height: 1;
    color: var(--ink);
}

.auth-logo-wordmark em {
    color: var(--coral);
    font-style: italic;
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.auth-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

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

.auth-footer a {
    font-weight: 600;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--gray-400);
    font-size: 0.8rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

/* ===== Dashboard Layout ===== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: var(--gray-50);
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--secondary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--paper);
    text-decoration: none;
}

.sidebar-logo-img {
    height: 30px;
    width: auto;
    display: block;
}

.sidebar-logo-text {
    line-height: 1;
}

.sidebar-logo-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-section-label {
    padding: 0.75rem 1.5rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 1.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}

.sidebar-item:hover {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.9);
}

.sidebar-item.active {
    background: rgba(230,126,34,0.15);
    color: var(--primary-light);
    border-left-color: var(--primary);
}

.sidebar-item-icon {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-email {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-logout {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: var(--transition);
}

.sidebar-logout:hover {
    color: var(--danger);
}

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.dashboard-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 2rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 4px;
}

.dashboard-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-content {
    padding: 2rem;
}

/* ===== Dashboard: Overview ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.stat-card-info h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-card-info .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-card-info .stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-icon-orange {
    background: var(--primary-lighter);
    color: var(--primary);
}

.stat-icon-green {
    background: var(--success-light);
    color: var(--success);
}

.stat-icon-blue {
    background: var(--info-light);
    color: var(--info);
}

.stat-icon-red {
    background: var(--danger-light);
    color: var(--danger);
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.chart-placeholder {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    min-height: 320px;
}

.chart-placeholder-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.chart-placeholder-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 200px;
    padding: 1rem 0;
}

.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    min-height: 20px;
    position: relative;
    transition: var(--transition);
}

.chart-bar:hover {
    opacity: 0.8;
}

.chart-bar-label {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.activity-feed {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.activity-feed h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.activity-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.activity-dot.green { background: var(--success); }
.activity-dot.orange { background: var(--primary); }
.activity-dot.blue { background: var(--info); }
.activity-dot.red { background: var(--danger); }

.activity-text {
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.4;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 2px;
}

/* ===== Dashboard: Toolbar ===== */
.page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.toolbar-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-filters .form-input,
.toolbar-filters .form-select {
    width: auto;
    min-width: 150px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* ===== Dashboard: Menu Page ===== */
.menu-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

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

.menu-item-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.menu-item-card:hover {
    box-shadow: var(--shadow-md);
}

.menu-item-image {
    height: 140px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-lightest) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.menu-item-image .drag-handle {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    font-size: 0.85rem;
}

.menu-item-body {
    padding: 1rem;
}

.menu-item-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.menu-item-body .menu-item-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 8px;
    line-height: 1.4;
}

.menu-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-item-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.menu-item-actions {
    display: flex;
    gap: 4px;
}

.menu-item-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.menu-item-name-row h4 {
    margin-bottom: 0;
    flex: 1;
}

.avail-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.85;
    flex-shrink: 0;
}

.avail-toggle:hover { opacity: 1; }

.menu-item-unavailable {
    opacity: 0.6;
}

.menu-item-unavailable .menu-item-image {
    filter: grayscale(0.5);
}

.menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.menu-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 6px;
    border-radius: 999px;
}

.menu-tag-choices {
    background: #e8f4fd;
    color: #1a5c8a;
}

.menu-tag-extras {
    background: #fdf0e8;
    color: #8a4a1a;
}

/* Modal: availability, choices, extras */
.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.toggle-label-sm {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 1rem 0 0.5rem;
}

.form-hint-inline {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 400;
}

.form-input-sm {
    height: 34px;
    padding: 4px 8px;
    font-size: 0.85rem;
}

.form-input-xs {
    width: 80px;
    height: 34px;
    padding: 4px 8px;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 3px 8px;
    font-size: 0.78rem;
    height: auto;
}

/* Choices editor */
.choices-group-row {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 8px;
    background: var(--gray-50);
}

.choices-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.choices-group-header .form-input-sm {
    flex: 1;
    min-width: 150px;
}

.choice-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.choice-option-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.82rem;
    font-weight: 600;
}

.choice-opt-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1;
    color: var(--primary-dark);
    opacity: 0.7;
}

.choice-opt-remove:hover { opacity: 1; }

/* Extras editor */
.extras-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.extras-row .form-input-sm {
    flex: 1;
}

.extras-price-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    flex-shrink: 0;
}

/* ===== Dashboard: Integration ===== */
.integration-block {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.integration-block h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.integration-block p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.api-key-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px 16px;
}

.api-key-display code {
    flex: 1;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--secondary);
    user-select: all;
    word-break: break-all;
}

.code-block {
    background: var(--secondary-dark);
    color: #a8d8a8;
    border-radius: var(--radius);
    padding: 1.25rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    overflow-x: auto;
    position: relative;
}

.code-block .copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: none;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.code-block .copy-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== Dashboard: Billing ===== */
.billing-plan-card {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.billing-plan-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.billing-plan-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.usage-bars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.usage-bar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.usage-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.usage-bar-header h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.usage-bar-header span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
}

.usage-bar-track {
    height: 8px;
    background: var(--gray-200);
    border-radius: 50px;
    overflow: hidden;
}

.usage-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: var(--primary);
    transition: width 0.5s ease;
}

.usage-bar-fill.warning {
    background: var(--warning);
}

.usage-bar-fill.danger {
    background: var(--danger);
}

/* ===== Dashboard: Settings ===== */
.settings-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.settings-section .settings-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

.color-picker-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-picker-row input[type="color"] {
    width: 44px;
    height: 44px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 2px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.time-slot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.time-slot-item span {
    color: var(--gray-700);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--gray-300);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-switch.active {
    background: var(--success);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active::after {
    left: 22px;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-overlay.visible {
    opacity: 1;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

/* Wide modal modifier — used by the menu-import review which needs room
   for a 5-column editable table. Capped at 1100px so it doesn't sprawl on
   ultrawide monitors, but uses 95vw on smaller screens. */
.modal--wide {
    max-width: min(1100px, 95vw);
}
.modal--wide .modal-body {
    padding: 1rem 1.25rem;
}

/* Menu-import review table — fluid layout where category/name/price stay
   narrow and the description column absorbs the leftover width. */
.menu-import-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.menu-import-table th,
.menu-import-table td {
    padding: 6px 4px;
    vertical-align: middle;
}
.menu-import-table input.form-input-sm {
    width: 100%;
    box-sizing: border-box;
}
.menu-import-table col.col-cat { width: 14%; }
.menu-import-table col.col-name { width: 22%; }
.menu-import-table col.col-desc { width: auto; }
.menu-import-table col.col-price { width: 110px; }
.menu-import-table col.col-actions { width: 40px; }

/* On narrow viewports the description column hides — owner reviews
   category/name/price first; description editing on a phone is awkward
   anyway and most owners will review on desktop. */
@media (max-width: 720px) {
    .menu-import-table col.col-desc,
    .menu-import-table th.col-desc-h,
    .menu-import-table td.col-desc-c {
        display: none;
    }
    .menu-import-table col.col-cat { width: 30%; }
    .menu-import-table col.col-name { width: auto; }
}

.modal-overlay.visible .modal {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.modal-close:hover {
    color: var(--gray-700);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== Toast Notifications ===== */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    animation: slideInRight 0.3s ease;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

.toast.info {
    background: var(--info);
}

.toast.warning {
    background: var(--warning);
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: auto;
    padding: 2px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

/* ===== Sidebar Overlay (Mobile) ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.sidebar-overlay.visible {
    display: block;
}

/* Order group headers — sticky below the 64px dashboard header */
.order-group-header {
    position: sticky;
    top: 64px;
    z-index: 10;
}

/* Pulsing dot on group headers that have in-progress orders */
.order-group-pulse {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary-color, #e67e22);
    flex-shrink: 0;
    animation: order-pulse 1.4s ease-in-out infinite;
}
@keyframes order-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(230, 126, 34, 0); }
}

/* Rows currently being prepared get a subtle left accent */
.order-row--preparing td:first-child {
    border-left: 3px solid var(--primary-color, #e67e22);
}
.order-row--preparing {
    background: rgba(230, 126, 34, 0.04) !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    .usage-bars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 0 1rem;
    }

    .nav-logo-wordmark {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 1rem 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-close {
        display: block;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .hamburger-btn {
        display: block;
    }

    .dashboard-header {
        padding: 0 1rem;
    }

    .dashboard-content {
        padding: 1rem;
    }

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

    .page-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .billing-plan-card {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 60px 1rem;
    }

    /* Orders table → card layout on mobile */
    .data-table thead {
        display: none;
    }

    .data-table tbody tr {
        display: block;
        border: 1px solid var(--gray-200);
        border-radius: var(--radius);
        margin-bottom: 10px;
        padding: 10px 12px;
        background: var(--white);
    }

    .data-table tbody tr:hover {
        background: var(--primary-lightest, #fef9f5);
    }

    .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 5px 0;
        border-bottom: 1px solid var(--gray-100);
        font-size: 0.875rem;
        gap: 8px;
    }

    .data-table td:last-child {
        border-bottom: none;
    }

    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--gray-500);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex-shrink: 0;
        width: 80px;
        padding-right: 8px;
    }

    /* Remove table-group container borders that look odd in card layout */
    .table-container[style] {
        border-left: none !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    /* Sticky group headers don't need top offset on mobile (no fixed sidebar) */
    .order-group-header {
        position: static;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 1.5rem;
    }
}

.responsive-svg {
    margin: 10px 0 0 0;
    width: 100%;
    max-width: 1200px; /* Example limit */
    height: auto;
}

/* ========== TriPrint Channel A — Print Bridge status indicator ========== */
.pb-dot {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}
.pb-dot-grey   { background: #b5b1a9; }
.pb-dot-yellow { background: #f1c40f; box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.18); }
.pb-dot-green  { background: #27ae60; box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.18); }

/* ========== TriPrint · Channel B (browser-native print) ==========
   Receipt mount lives off-screen by default so window.print() can find it
   without ever flashing on the page. In print media we hide everything
   else and reset the receipt back into the print flow.
*/
#print-receipt {
    position: fixed;
    left: -10000px;
    top: 0;
    width: 72mm;
    background: #fff;
}

@media print {
    @page { margin: 4mm; size: 80mm auto; }
    body > *:not(#print-receipt) { display: none !important; }
    #print-receipt {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 72mm !important;
    }
}

.rcpt {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    line-height: 1.35;
    color: #000;
    background: #fff;
    padding: 0;
}
.rcpt-head { text-align: center; }
.rcpt-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.rcpt-divider { border-top: 1px dashed #000; margin: 4px 0; }
.rcpt-divider-light { border-top: 1px dotted #888; margin: 3px 0; }
.rcpt-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    gap: 6px;
}
.rcpt-items { margin: 2px 0; }
.rcpt-order-id {
    font-weight: 700;
    margin-top: 4px;
    font-size: 10.5px;
}
.rcpt-item { margin: 1px 0; }
.rcpt-item-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.rcpt-item-mod {
    padding-left: 10px;
    font-size: 10px;
    color: #333;
}
.rcpt-line {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.rcpt-total {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
}
.rcpt-foot {
    text-align: center;
    margin-top: 6px;
}
.rcpt-foot-small {
    font-size: 9.5px;
    color: #555;
    margin-top: 2px;
}