/* ============================================================
   SUIMAS AI  —  Premium Design System  v7.0
   Deep sidebar  ·  Crystal header  ·  Elevated cards
   Refined typography  ·  Rich micro-animations
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Brand */
    --primary:        #00C853;
    --primary-dark:   #009624;
    --primary-light:  #e8f5e9;
    --primary-mid:    #00a844;
    --secondary:      #FF6D00;
    --secondary-dark: #E65100;
    --secondary-light:#fff3e0;

    /* Backgrounds */
    --bg-body:    #edf1f7;
    --bg-surface: #ffffff;
    --bg-raised:  #f8fafc;

    /* Sidebar */
    --sidebar-bg:         #060d1a;
    --sidebar-border:     rgba(255,255,255,0.055);
    --sidebar-text:       rgba(255,255,255,0.48);
    --sidebar-active:     rgba(0,200,83,0.11);
    --sidebar-active-text:#00E676;
    --sidebar-hover:      rgba(255,255,255,0.045);

    /* Text */
    --text-main:  #0f1923;
    --text-muted: #64748b;
    --text-dim:   #94a3b8;

    /* Borders & Shadows */
    --border-color:  #e2e8f0;
    --border-light:  rgba(0,0,0,0.05);
    --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
    --shadow-lg:  0 10px 32px rgba(0,0,0,0.11), 0 2px 8px rgba(0,0,0,0.06);
    --shadow-xl:  0 20px 52px rgba(0,0,0,0.16), 0 4px 16px rgba(0,0,0,0.08);
    --shadow-2xl: 0 32px 72px rgba(0,0,0,0.22), 0 8px 24px rgba(0,0,0,0.1);

    /* Layout */
    --sidebar-width: 262px;
    --header-height: 68px;
    --radius:    14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Legacy aliases */
    --neon-green:    #00C853;
    --neon-orange:   #FF6D00;
    --holo-blue:     #2563eb;
    --accent-danger: #ef4444;
    --font-mono:     'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0,200,83,0.035) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37,99,235,0.03) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
hr { border: none; height: 1px; background: var(--border-color); margin: 1.5rem 0; }

::selection { background: rgba(0,200,83,0.15); color: var(--text-main); }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d9e0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    background-image: linear-gradient(180deg, #0a1428 0%, #060d1a 40%, #04080f 100%);
    border-right: 1px solid var(--sidebar-border);
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 4px 0 32px rgba(0,0,0,0.35);
}

/* Green top accent line */
.sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #00C853 40%, #00E676 60%, transparent 100%);
    opacity: 0.9;
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--sidebar-border);
}

.logo {
    font-size: 1.32rem;
    font-weight: 900;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.5px;
}
.logo i {
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(0,200,83,0.5));
}

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

.sidebar-nav li { margin-bottom: 0.1rem; padding: 0 0.65rem; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.72rem 0.9rem;
    color: var(--sidebar-text);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05px;
    transition: all 0.18s ease;
    border-radius: 10px;
    position: relative;
}

.sidebar-nav a i {
    width: 18px;
    text-align: center;
    font-size: 0.92rem;
    opacity: 0.75;
    transition: opacity 0.18s, transform 0.18s;
    flex-shrink: 0;
}

.sidebar-nav a:hover {
    background: var(--sidebar-hover);
    color: rgba(255,255,255,0.82);
}
.sidebar-nav a:hover i { opacity: 1; transform: translateX(1px); }

.sidebar-nav a.active {
    background: var(--sidebar-active);
    color: var(--sidebar-active-text);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(0,200,83,0.15);
}
.sidebar-nav a.active::before {
    content: '';
    position: absolute;
    left: -2px; top: 20%; bottom: 20%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(0,200,83,0.6);
}
.sidebar-nav a.active i {
    color: var(--primary);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(0,200,83,0.4));
}

/* ============================================================
   MAIN WRAPPER
   ============================================================ */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   TOP HEADER
   ============================================================ */
.top-header {
    height: var(--header-height);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(226,232,240,0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 2px 16px rgba(0,0,0,0.04);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-left h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.25px;
}

.menu-toggle {
    display: none;
    font-size: 1.35rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.3rem;
    border-radius: 9px;
    transition: background 0.15s, color 0.15s;
}
.menu-toggle:hover { background: var(--border-color); color: var(--text-main); }

.header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notif-wrapper { position: relative; }

.notif-icon {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
    transition: color 0.18s, background 0.18s;
    padding: 0.4rem;
    border-radius: 10px;
}
.notif-icon:hover { color: var(--primary); background: var(--primary-light); }

.notif-badge {
    position: absolute;
    top: -3px; right: -3px;
    background: var(--secondary);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse-notif 2.5s ease-in-out infinite;
}

@keyframes pulse-notif {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
}

.notif-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 336px;
    max-height: 440px;
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1100;
    animation: dropDown 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.notif-dropdown.show { display: flex; }

@keyframes dropDown {
    from { opacity:0; transform:translateY(-8px) scale(0.97); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}

.notif-header {
    padding: 0.9rem 1.2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5fb 100%);
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-list { flex: 1; overflow-y: auto; max-height: 340px; }
.notif-list::-webkit-scrollbar { width: 3px; }
.notif-list::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 2px; }

.notif-list li {
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.86rem;
    position: relative;
    cursor: pointer;
    transition: background 0.12s;
}
.notif-list li:hover { background: #f8fafc; }
.notif-list li.unread { background: #f0fdf4; font-weight: 500; }
.notif-list li:last-child { border-bottom: none; }

.notif-delete {
    position: absolute; top: 10px; right: 10px;
    color: #cbd5e1; cursor: pointer; font-size: 0.82rem;
    transition: color 0.15s;
}
.notif-delete:hover { color: #f43f5e; }

/* ============================================================
   CONTENT BODY
   ============================================================ */
.content-body { padding: 2rem; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.page-header h1 i { color: var(--primary); font-size: 1.35rem; }
.page-header p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.2rem;
    font-weight: 400;
}

.page-header .actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226,232,240,0.6);
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255,255,255,0.7) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
}
.card:hover::before { opacity: 1; }

.card.no-hover:hover,
table .card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}
.card.no-hover::before { display: none; }

.card h2, .card h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.25px;
}
.card-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    line-height: 1;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.card-header-row h3 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}
.card-header-row h3 i { color: var(--primary); }

/* ============================================================
   FORMS & INPUTS
   ============================================================ */
.form-group { margin-bottom: 1.2rem; }

label {
    display: block;
    margin-bottom: 0.42rem;
    font-weight: 600;
    font-size: 0.86rem;
    color: #374151;
    letter-spacing: 0.1px;
}

input, select, textarea {
    width: 100%;
    padding: 0.72rem 1rem;
    border: 1.5px solid #d1d9e0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    background: #fafbfc;
    color: var(--text-main);
}
input:hover, select:hover, textarea:hover {
    border-color: #b8c4d0;
    background: white;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3.5px rgba(0,200,83,0.11);
    background: white;
}

.form-section {
    background: var(--bg-raised);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.form-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-section-title i { color: var(--primary); }

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.form-row .form-group { flex: 1; min-width: 180px; }

/* ============================================================
   BUTTONS
   ============================================================ */
button, .btn {
    background: linear-gradient(135deg, #00d45a 0%, #00C853 45%, #009624 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.22s cubic-bezier(0.34,1.56,0.64,1);
    text-decoration: none;
    letter-spacing: 0.15px;
    box-shadow: 0 3px 10px rgba(0,200,83,0.25), 0 1px 3px rgba(0,200,83,0.15);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
button::after, .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
    pointer-events: none;
}
button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,200,83,0.35), 0 2px 6px rgba(0,200,83,0.2);
    filter: brightness(1.04);
}
button:active, .btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(0,200,83,0.2);
}

button.secondary, .btn.secondary {
    background: white;
    border: 1.5px solid #d1d9e0;
    color: var(--text-main);
    box-shadow: var(--shadow-xs);
}
button.secondary::after, .btn.secondary::after { display: none; }
button.secondary:hover, .btn.secondary:hover {
    background: #f8fafc;
    border-color: #b8c4d0;
    box-shadow: var(--shadow-sm);
    filter: none;
    transform: translateY(-1px);
}

button.danger, .btn.danger {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    box-shadow: 0 3px 10px rgba(239,68,68,0.25);
}
button.danger:hover, .btn.danger:hover {
    box-shadow: 0 8px 20px rgba(239,68,68,0.35);
}

button.btn-sm, .btn.btn-sm {
    padding: 0.38rem 0.85rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226,232,240,0.6);
    overflow: hidden;
}
.table-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
}

th {
    text-align: left;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
    font-weight: 700;
    color: #7c8fa6;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    border-bottom: 1.5px solid #e8eef5;
}

td {
    padding: 0.88rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: var(--text-main);
}

tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.12s; }
tbody tr:hover td { background: #f7fbff; }

.table-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.table-actions a,
.table-actions button {
    padding: 0.32rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: none;
    cursor: pointer;
    box-shadow: none;
    background: transparent;
}
.table-actions .act-view   { color: #2563eb; background: #eff6ff; }
.table-actions .act-view:hover { background: #dbeafe; transform: scale(1.05); }
.table-actions .act-edit   { color: #d97706; background: #fffbeb; }
.table-actions .act-edit:hover { background: #fef3c7; transform: scale(1.05); }
.table-actions .act-download { color: #059669; background: #ecfdf5; }
.table-actions .act-download:hover { background: #d1fae5; transform: scale(1.05); }
.table-actions .act-delete { color: #dc2626; background: #fef2f2; }
.table-actions .act-delete:hover { background: #fee2e2; transform: scale(1.05); }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.badge.planned    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge.ongoing    { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.badge.completed  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge.draft      { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.badge.approved   { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.badge.sent       { background: #fdf4ff; color: #9333ea; border: 1px solid #e9d5ff; }
.badge.accepted   { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge.published  { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge.pending    { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.badge.paid       { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.badge.overdue    { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.badge.cancelled  { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.badge.invoiced   { background: #faf5ff; color: #7c3aed; border: 1px solid #ddd6fe; }
.badge.on_hold    { background: #fefce8; color: #92400e; border: 1px solid #fde68a; }
.badge.in_progress { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.badge.rejected   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: 0.875rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
}
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(6,13,26,0.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}
.modal-overlay.show { display: flex; align-items: center; justify-content: center; }

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: modalSlideIn 0.28s cubic-bezier(0.34,1.56,0.64,1);
    border: 1px solid rgba(255,255,255,0.8);
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.18s;
    box-shadow: none;
    padding: 0;
}
.modal-close:hover { background: #fee2e2; color: #ef4444; transform: none; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal { /* base modal layer — extended by page-specific rules */ }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 3rem;
    opacity: 0.2;
    margin-bottom: 1rem;
    display: block;
}
.empty-state p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.empty-state small { font-size: 0.82rem; opacity: 0.7; }

/* ============================================================
   STAT CHIPS
   ============================================================ */
.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.24rem 0.75rem;
    border-radius: 50px;
    font-size: 0.71rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.chip-green  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.chip-blue   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.chip-orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.chip-red    { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.chip-purple { background: #faf5ff; color: #7c3aed; border: 1px solid #ddd6fe; }

/* ============================================================
   INFO GRID
   ============================================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.info-item i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.info-item .info-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.1rem;
}
.info-item .info-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

/* ============================================================
   STEP TRACKER
   ============================================================ */
.step-tracker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.77rem;
    font-weight: 600;
    padding: 0.24rem 0.6rem;
    border-radius: 50px;
    transition: all 0.2s;
}
.step-item.done    { background: #f0fdf4; color: #16a34a; }
.step-item.pending { background: #f8fafc; color: #94a3b8; }
.step-item.active  { background: #fff7ed; color: #c2410c; }
.step-connector { width: 16px; height: 2px; background: #e2e8f0; border-radius: 1px; }

/* ============================================================
   TASK CARD
   ============================================================ */
.task-card {
    background: var(--bg-raised);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    transition: all 0.22s ease;
    position: relative;
}
.task-card:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: rgba(0,200,83,0.22);
    transform: translateY(-1px);
}
.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}
.task-card-header strong { font-size: 0.95rem; }
.task-instructions {
    background: white;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
}
.task-instructions small {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.67rem;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.35rem;
}

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */
.ai-widget {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 2000;
}

.ai-button {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), #ff9100);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 24px rgba(255,109,0,0.42), 0 2px 8px rgba(255,109,0,0.2);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s;
    border: 3px solid rgba(255,255,255,0.22);
}
.ai-button:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 32px rgba(255,109,0,0.5), 0 4px 12px rgba(255,109,0,0.25);
}

.ai-chat-window {
    position: fixed;
    bottom: 96px; right: 28px;
    width: 375px;
    height: calc(100vh - 120px);
    max-height: 580px;
    background: white;
    border-radius: 22px;
    box-shadow: var(--shadow-2xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(226,232,240,0.6);
    animation: slideUp 0.28s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 2001;
}
.ai-chat-window.open { display: flex; }

.ai-header {
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.ai-messages::-webkit-scrollbar { width: 3px; }
.ai-messages::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 2px; }

.ai-message {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.55;
    box-shadow: var(--shadow-xs);
}
.ai-message.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
}
.ai-message.user {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-input {
    padding: 0.85rem;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}
.ai-input input {
    flex: 1;
    border-radius: 50px;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    padding: 0.62rem 1rem;
    font-size: 0.88rem;
}
.ai-input input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}
.ai-input button {
    padding: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: none;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes slideUp {
    from { opacity:0; transform:translateY(16px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes pulse-notification {
    0%,100% { transform:scale(1); }
    50%     { transform:scale(1.12); }
}

/* Page load reveal */
.content-body > *:not(script):not(style):not(link) {
    animation: revealUp 0.38s cubic-bezier(0.34,1.56,0.64,1) both;
}
.content-body > *:nth-child(1) { animation-delay: 0.02s; }
.content-body > *:nth-child(2) { animation-delay: 0.05s; }
.content-body > *:nth-child(3) { animation-delay: 0.08s; }
.content-body > *:nth-child(4) { animation-delay: 0.11s; }
.content-body > *:nth-child(5) { animation-delay: 0.14s; }

@keyframes revealUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    text-align: center;
    padding: 1.75rem 2rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    background: linear-gradient(180deg, var(--bg-raised) 0%, var(--bg-surface) 100%);
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,200,83,0.4), transparent);
}
footer .footer-brand { font-weight: 700; color: var(--text-main); }
footer .footer-version {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.67rem;
    font-weight: 700;
    padding: 0.12rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-primary { color: var(--primary) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-danger  { color: var(--accent-danger) !important; }
.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.gap-sm { gap: 0.5rem !important; }
.gap-md { gap: 1rem !important; }

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */
.mobile-bottom-nav { display: none; }

/* ============================================================
   RESPONSIVE — MOBILE APP EXPERIENCE
   ============================================================ */
@media (max-width: 768px) {

    html {
        -webkit-text-size-adjust: 100%;
        overscroll-behavior-y: contain;
    }
    body {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        overscroll-behavior: contain;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        z-index: 3001;
    }
    .sidebar.active { transform: translateX(0); }

    .sidebar.active::after {
        content: '';
        position: fixed;
        top: 0; left: 280px; right: 0; bottom: 0;
        background: rgba(0,0,0,0.52);
        backdrop-filter: blur(2px);
        z-index: -1;
    }

    .main-wrapper { margin-left: 0 !important; }

    .top-header {
        height: 56px;
        padding: 0 0.75rem;
        position: sticky;
        top: 0;
        z-index: 2500;
        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(20px) saturate(1.8);
        -webkit-backdrop-filter: blur(20px) saturate(1.8);
        border-bottom: 0.5px solid rgba(0,0,0,0.08);
        box-shadow: 0 0.5px 0 rgba(0,0,0,0.06);
    }
    .header-left h3 { font-size: 1.02rem; }

    .menu-toggle {
        display: flex;
        width: 40px; height: 40px;
        align-items: center; justify-content: center;
        border-radius: 12px;
        font-size: 1.15rem;
        -webkit-tap-highlight-color: transparent;
    }
    .menu-toggle:active { background: rgba(0,0,0,0.08); transform: scale(0.92); }

    .header-right > div:last-child > div:first-child { display: none; }
    .header-right { gap: 0.6rem; }

    .content-body { padding: 0.75rem; padding-bottom: 1rem; }

    .page-header { gap: 0.5rem; margin-bottom: 1rem; }
    .page-header h1 { font-size: 1.22rem; }
    .page-header p  { font-size: 0.8rem; margin-top: 0.1rem; }
    .page-header .actions { width: 100%; }
    .page-header .actions button,
    .page-header .actions .btn {
        flex: 1; font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
        min-height: 44px;
    }

    .card {
        border-radius: 16px;
        padding: 1rem;
        margin-bottom: 0.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        border: 0.5px solid rgba(0,0,0,0.06);
    }
    .card:hover { transform: none; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    .card:active { transform: scale(0.985); transition: transform 0.1s; }
    .card::before { display: none; }
    .card-number { font-size: 1.8rem; }

    .grid { grid-template-columns: 1fr; gap: 0.5rem; margin-bottom: 1rem; }

    button, .btn {
        min-height: 44px;
        font-size: 0.88rem;
        border-radius: 12px;
        -webkit-tap-highlight-color: transparent;
    }
    button:active, .btn:active {
        transform: scale(0.96) !important;
        transition: transform 0.1s !important;
    }

    input, select, textarea {
        font-size: 16px !important;
        padding: 0.8rem 0.9rem;
        border-radius: 12px;
        min-height: 48px;
    }
    label { font-size: 0.82rem; margin-bottom: 0.35rem; }
    .form-row { flex-direction: column; gap: 0; }
    .form-row .form-group { min-width: 100%; }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        border-radius: 12px;
    }
    th, td { padding: 0.6rem 0.75rem; font-size: 0.82rem; }
    .table-actions { gap: 0.35rem; }
    .table-actions a {
        min-width: 36px; min-height: 36px;
        display: inline-flex; align-items: center; justify-content: center;
        border-radius: 8px; font-size: 0.75rem;
    }

    .notif-dropdown {
        position: fixed;
        top: 56px; left: 0; right: 0;
        width: 100%;
        max-height: 60vh;
        border-radius: 0 0 20px 20px;
        border-top: none;
        animation: slideDown 0.25s ease;
    }
    .notif-icon {
        width: 40px; height: 40px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 12px;
    }
    .notif-icon:active { background: rgba(0,0,0,0.08); transform: scale(0.92); }

    .action-bar { flex-direction: column; }
    .action-bar button, .action-bar .btn { width: 100%; justify-content: center; }

    .info-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

    .ai-widget {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        right: 14px;
    }
    .ai-button { width: 52px; height: 52px; font-size: 1.2rem; }
    .ai-chat-window {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100% !important; max-width: 100% !important;
        height: 100% !important; max-height: 100% !important;
        border-radius: 0 !important;
        z-index: 5000;
        animation: slideUpFull 0.3s cubic-bezier(0.32,0.72,0,1);
    }
    .ai-chat-header { border-radius: 0 !important; padding-top: calc(0.6rem + env(safe-area-inset-top,0px)) !important; }
    .ai-messages { max-height: calc(100vh - 140px) !important; height: calc(100vh - 140px) !important; }
    .ai-input { padding-bottom: calc(0.5rem + env(safe-area-inset-bottom,0px)) !important; }

    @keyframes slideUpFull {
        from { transform: translateY(100%); opacity: 0.5; }
        to   { transform: translateY(0); opacity: 1; }
    }

    .modal-overlay.show { align-items: flex-end; }
    .modal-content {
        width: 100%; max-width: 100%;
        border-radius: 22px 22px 0 0;
        max-height: 85vh;
        animation: sheetSlideUp 0.35s cubic-bezier(0.32,0.72,0,1);
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom,0px));
    }
    .modal-content::before {
        content: ''; display: block;
        width: 36px; height: 4px;
        background: #d1d5db; border-radius: 4px;
        margin: 0 auto 1rem;
    }

    @keyframes sheetSlideUp {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }

    .quote-actions {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    .quote-actions button, .quote-actions .btn {
        flex: 0 0 auto; white-space: nowrap;
        font-size: 0.8rem; padding: 0.5rem 0.75rem;
    }

    /* ── MOBILE BOTTOM NAV ── */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: calc(64px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(24px) saturate(1.8);
        -webkit-backdrop-filter: blur(24px) saturate(1.8);
        border-top: 0.5px solid rgba(0,0,0,0.07);
        box-shadow: 0 -2px 20px rgba(0,0,0,0.06);
        z-index: 3000;
        align-items: stretch;
        justify-content: space-around;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        flex: 1;
        text-decoration: none;
        color: #8e99a4;
        font-size: 0.61rem;
        font-weight: 600;
        letter-spacing: 0.2px;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s;
        position: relative;
        padding: 6px 0;
    }
    .mobile-nav-item i { font-size: 1.15rem; transition: transform 0.2s; }
    .mobile-nav-item:active i { transform: scale(0.8); }
    .mobile-nav-item.active { color: var(--primary); }
    .mobile-nav-item.active i { transform: scale(1.1); }
    .mobile-nav-item.active::before {
        content: '';
        position: absolute;
        top: 2px;
        width: 4px; height: 4px;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 0 6px rgba(0,200,83,0.6);
    }

    .mobile-nav-ai { position: relative; margin-top: -12px; }
    .mobile-nav-ai-btn {
        width: 48px; height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #FF6D00, #ff9100);
        color: white;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.3rem;
        box-shadow: 0 4px 16px rgba(255,109,0,0.38);
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .mobile-nav-ai:active .mobile-nav-ai-btn { transform: scale(0.9); box-shadow: 0 2px 8px rgba(255,109,0,0.3); }
    .mobile-nav-ai.active .mobile-nav-ai-btn { box-shadow: 0 4px 20px rgba(255,109,0,0.52); }
    .mobile-nav-ai span { margin-top: 2px; }

    .content-body { animation: pageFadeIn 0.3s ease; }
    @keyframes pageFadeIn {
        from { opacity: 0; transform: translateY(8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @media (hover: none) {
        .card:hover, .sidebar-nav a:hover,
        .task-card:hover, button:hover, .btn:hover {
            transform: none !important;
            box-shadow: inherit;
        }
    }

    /* PAGE-SPECIFIC MOBILE OVERRIDES */
    .grid, .grid[style], div.grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .metrics-grid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
    .charts-grid, .bottom-grid { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
    .metric-card { padding: 1rem !important; border-radius: 14px !important; }
    .metric-card:hover { transform: none !important; }
    .metric-value { font-size: 1.5rem !important; }
    .dash-greeting h1 { font-size: 1.3rem !important; }

    .ai-stats-grid { grid-template-columns: 1fr !important; gap: 0.6rem !important; }
    .ai-stat-card  { padding: 0.9rem 1rem !important; }
    .ai-stat-val   { font-size: 1.4rem !important; }
    .ai-cap-grid   { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }
    .ai-cmd-header h1 { font-size: 1.3rem !important; }
    .ai-command-card  { border-radius: 14px !important; }
    .quick-cmds { gap: 0.35rem !important; }
    .quick-cmd  { font-size: 0.75rem !important; padding: 0.35rem 0.7rem !important; }
    .ai-command-card, .ai-result, .ai-result-body, .ai-log-item {
        overflow: hidden !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    .ai-log-item { white-space: normal !important; font-size: 0.82rem !important; }

    .settings-item { flex-wrap: wrap; gap: 0.5rem; }

    div[style*="grid-template-columns: 2fr"],
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

    table th, table td { white-space: normal !important; word-wrap: break-word !important; max-width: 200px; }
    table td:first-child { font-weight: 600; white-space: nowrap !important; }

    div[style*="minmax(240px"], div[style*="minmax(260px"],
    div[style*="minmax(320px"], div[style*="minmax(200px"] { grid-template-columns: 1fr !important; }
    div[style*="minmax(300px"] { grid-template-columns: 1fr !important; }

    footer { margin-bottom: 0; padding-bottom: 0.5rem !important; text-align: center; }

    .content-body, .card, .card * {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    .card h2, .card h3, .card h4 { word-break: break-word; overflow-wrap: break-word; }

    .page-header .actions, .quote-actions, .action-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.4rem !important;
    }
    .page-header .actions button, .page-header .actions .btn { width: 100% !important; }
    .form-section { padding: 0.75rem !important; }
    .badge, .stat-chip { white-space: nowrap; font-size: 0.68rem !important; }
}

@media (max-width: 380px) {
    .info-grid { grid-template-columns: 1fr !important; }
    .step-tracker { gap: 0.3rem; }
    .step-connector { width: 8px; }
    .page-header h1 { font-size: 1.08rem !important; }
    .mobile-nav-item span { font-size: 0.57rem; }
    .top-header h3 { font-size: 0.92rem !important; }
    .metrics-grid { grid-template-columns: 1fr !important; }
    .ai-cap-grid { grid-template-columns: 1fr !important; }
    .card { padding: 0.75rem !important; }
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; }
.hero .tagline { font-size: 1.3rem; color: var(--text-muted); margin-bottom: 2rem; }

.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0,200,83,0.3);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,200,83,0.4); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}
.feature-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .sidebar, .top-header, .no-print, .ai-widget,
    button, .btn, nav, .action-bar, .menu-toggle { display: none !important; }
    .main-wrapper { margin-left: 0 !important; }
    .content-body { padding: 0 !important; }
    body { background: white !important; }
    .card { box-shadow: none !important; border: none !important; }
    .content-body > * { animation: none !important; }
}
