/* ==========================================================================
   CRM Sales Public CSS - SaaS Theme
   ========================================================================== */

/* 1. Reset & Base */
:root {
    --crm-primary: #3b82f6;
    --crm-primary-hover: #2563eb;
    --crm-secondary: #6b7280;
    --crm-success: #10b981;
    --crm-danger: #ef4444;
    --crm-warning: #f59e0b;
    --crm-info: #3b82f6;
    --crm-light: #f3f4f6;
    --crm-dark: #1f2937;
    --crm-border: #e5e7eb;
    --crm-text: #374151;
    --crm-text-muted: #6b7280;
    --crm-bg: #f9fafb;
    --crm-card-bg: #ffffff;
    --crm-sidebar-bg: #1e293b;
    --crm-sidebar-text: #e2e8f0;
    --crm-sidebar-active: #3b82f6;
    --crm-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.crm-sales-app {
    margin: 0;
    padding: 0;
    font-family: var(--crm-font-sans);
    background: var(--crm-bg);
    color: var(--crm-text);
    height: 100vh;
    overflow: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.crm-sales-app.crm-theme-dark {
    --crm-border: #1f2937;
    --crm-text: #e5e7eb;
    --crm-text-muted: #9ca3af;
    --crm-bg: #0f172a;
    --crm-card-bg: #111827;
    --crm-sidebar-bg: #0b1020;
    --crm-sidebar-text: #e5e7eb;
    --crm-sidebar-active: #3b82f6;
    --crm-light: #111827;
}

.crm-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 0;
}

.crm-help-icon .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

body.crm-sales-app.crm-theme-dark .crm-help-icon {
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
}

.crm-help-popover {
    position: fixed;
    z-index: 99999;
    width: 360px;
    max-width: calc(100vw - 24px);
    background: var(--crm-card-bg);
    color: var(--crm-text);
    border: 1px solid var(--crm-border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    padding: 12px 12px 10px;
}

.crm-help-popover-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    margin-bottom: 8px;
}

.crm-help-popover-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: var(--crm-text-muted);
}

.crm-help-popover-body {
    font-size: 13px;
    color: var(--crm-text);
}

.crm-help-popover-body ul {
    margin: 8px 0 0 18px;
}

.crm-help-card {
    border: 1px solid var(--crm-border);
    border-radius: 12px;
    padding: 12px;
    background: var(--crm-card-bg);
}

.crm-help-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

body.crm-sales-app.crm-view-help {
    font-size: 13px;
}

body.crm-sales-app.crm-view-help .crm-card-body {
    font-size: 13px;
}

body.crm-sales-app.crm-view-help .crm-text-muted {
    font-size: 12px;
}

body.crm-sales-app.crm-view-help details summary {
    font-size: 13px;
}

body.crm-sales-app.crm-view-help ul,
body.crm-sales-app.crm-view-help li {
    font-size: 13px;
}

/* Hide WP Admin Bar */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* 2. Layout Structure */
.crm-app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Sidebar */
.crm-sidebar {
    width: 260px;
    background: var(--crm-sidebar-bg);
    color: var(--crm-sidebar-text);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: width 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.crm-sidebar-header {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: rgba(0,0,0,0.2);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.crm-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.crm-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.crm-nav-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.crm-nav-item.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--crm-primary);
}

.crm-nav-item .dashicons {
    margin-right: 12px;
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}

.crm-nav-group-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.crm-nav-caret {
    margin-left: auto;
    font-size: 14px;
    width: 14px;
    height: 14px;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.crm-nav-group.open .crm-nav-caret {
    transform: rotate(180deg);
}

.crm-nav-subitems {
    display: none;
    padding: 4px 0 10px 0;
}

.crm-nav-group.open .crm-nav-subitems {
    display: block;
}

.crm-nav-subitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px 8px 52px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.crm-nav-subitem:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.crm-nav-subitem.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--crm-primary);
}

.crm-nav-badge {
    background: #dc2626;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 800;
}

.crm-pdf-frame-wrap {
    position: relative;
    width: 100%;
    height: 620px;
    border: 1px solid var(--crm-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--crm-bg);
}

.crm-pdf-frame-wrap object,
.crm-pdf-frame-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.crm-pdf-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.crm-signature-box {
    position: absolute;
    border: 2px dashed rgba(59, 130, 246, 0.9);
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    pointer-events: auto;
}

.crm-signature-box-label {
    position: absolute;
    top: -22px;
    left: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--crm-text);
    background: var(--crm-card-bg);
    border: 1px solid var(--crm-border);
    border-radius: 999px;
    padding: 2px 10px;
}

.crm-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    color: #64748b;
}

/* Main Content Area */
.crm-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--crm-bg);
    position: relative;
}

/* Topbar */
.crm-topbar {
    height: 64px;
    background: var(--crm-card-bg);
    border-bottom: 1px solid var(--crm-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    flex-shrink: 0;
    z-index: 10;
}

.crm-page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--crm-text);
    margin: 0;
}

.crm-user-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--crm-text-muted);
}

.crm-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    object-fit: cover;
}

/* Content Scroll Area */
.crm-content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.crm-sales-content {
    max-width: 1280px;
    margin: 0 auto;
}

/* 3. Grid System */
.crm-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.crm-col, [class*="crm-col-"] {
    position: relative;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

.crm-col { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.crm-col-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
.crm-col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.crm-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.crm-col-3 { flex: 0 0 25%; max-width: 25%; }
.crm-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.crm-col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.crm-col-6 { flex: 0 0 50%; max-width: 50%; }
.crm-col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.crm-col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.crm-col-9 { flex: 0 0 75%; max-width: 75%; }
.crm-col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.crm-col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.crm-col-12 { flex: 0 0 100%; max-width: 100%; }

/* 4. Components */

/* View Header */
.crm-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.crm-view-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--crm-text);
    margin: 0;
}

.crm-view-actions {
    display: flex;
    gap: 12px;
}

/* Cards */
.crm-card {
    background: var(--crm-card-bg);
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    border: 1px solid var(--crm-border);
    overflow: hidden;
}

.crm-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--crm-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--crm-card-bg);
}

.crm-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--crm-text);
    margin: 0;
}

.crm-card-body {
    padding: 24px;
}

.crm-card-footer {
    padding: 16px 24px;
    background: var(--crm-bg);
    border-top: 1px solid var(--crm-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Buttons */
.crm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.5;
    gap: 8px;
}

.crm-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.crm-btn-primary {
    background: var(--crm-primary);
    color: #fff;
    border-color: var(--crm-primary);
    border: 1px solid #3b82f6;
}

.crm-btn-primary:hover {
    background: var(--crm-primary-hover);
    border-color: var(--crm-primary-hover);
    color: #fff;
}

.crm-btn-secondary {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.crm-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}

.crm-btn-danger {
    background: var(--crm-danger);
    color: #fff;
    border-color: var(--crm-danger);
}

.crm-btn-danger:hover {
    background: #dc2626;
    color: #fff;
}

.crm-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.crm-btn-outline {
    background: transparent;
    border-color: var(--crm-border);
    color: var(--crm-text);
}

.crm-btn-outline:hover {
    background: var(--crm-light);
    color: var(--crm-text);
}

/* Forms */
.crm-form-group {
    margin-bottom: 20px;
}

.crm-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--crm-text);
    margin-bottom: 6px;
}

.crm-form-control {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #111827;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
    background: var(--crm-card-bg);
    color: var(--crm-text);
    border-color: var(--crm-border);
}

.crm-form-control:focus {
    border-color: var(--crm-primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

textarea.crm-form-control {
    min-height: 100px;
    resize: vertical;
}

select.crm-form-control {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.crm-form-control.code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Tables */
.table-responsive, .crm-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.crm-table th {
    text-align: left;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f9fafb;
    border-bottom: 1px solid var(--crm-border);
}

.crm-table td {
    padding: 16px 24px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid var(--crm-border);
    vertical-align: middle;
}

.crm-table tbody tr:hover {
    background-color: #f9fafb;
}

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

/* Alerts */
.crm-alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid transparent;
}

.crm-alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.crm-alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.crm-alert-warning {
    background-color: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.crm-alert-info {
    background-color: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

/* Badges */
.crm-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.crm-badge-success { background: #ecfdf5; color: #059669; }
.crm-badge-danger { background: #fef2f2; color: #dc2626; }
.crm-badge-warning { background: #fffbeb; color: #d97706; }
.crm-badge-info { background: #eff6ff; color: #3b82f6; }
.crm-badge-gray { background: #f3f4f6; color: #6b7280; }
.crm-badge-ai { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }

/* FullCalendar */
.crm-sales-app .fc .fc-toolbar-title { font-size: 16px; }
.crm-sales-app .fc .fc-button { font-size: 12px; padding: 4px 8px; }
.crm-sales-app .fc .fc-button .fc-icon { font-size: 12px; }

/* Tabs */
.crm-tabs {
    display: flex;
    border-bottom: 1px solid var(--crm-border);
    margin-bottom: 24px;
    gap: 24px;
}

.crm-tab-link, .crm-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
}

.crm-tab-link:hover, .crm-tab:hover {
    color: #111827;
    border-bottom-color: #d1d5db;
}

.crm-tab-link.active, .crm-tab.active, .nav-tab-active {
    color: var(--crm-primary);
    border-bottom-color: var(--crm-primary);
}

/* Search Box */
.crm-search-box {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.crm-search-box input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid var(--crm-border);
    border-radius: 6px;
    font-size: 14px;
}

.crm-search-box .dashicons {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}

/* Empty State */
.crm-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--crm-text-muted);
}

.crm-empty-state .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.crm-empty-state h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.crm-empty-state p {
    color: #6b7280;
    max-width: 400px;
    margin: 0 auto;
}

/* Utilities */
.text-right { text-align: right; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.crm-flex-1 { flex: 1; }
.crm-text-muted { color: var(--crm-text-muted); }
.crm-italic { font-style: italic; }

body.crm-view-ai-insights .crm-card-body .crm-text-muted {
    font-size: 13px;
    line-height: 1.4;
}

/* Border Colors */
.crm-border-l-success { border-left: 4px solid #10b981; }
.crm-border-l-info { border-left: 4px solid #3b82f6; }
.crm-border-l-warning { border-left: 4px solid #f59e0b; }
.crm-border-l-danger { border-left: 4px solid #ef4444; }
.crm-border-l-primary { border-left: 4px solid #8b5cf6; }
.crm-border-l-indigo { border-left: 4px solid #6366f1; }

.crm-chart-container {
    height: 300px;
    width: 100%;
    position: relative;
}

/* Dashboard Specifics */
.crm-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.crm-kpi-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--crm-text-muted);
    margin-bottom: 4px;
}

.crm-kpi-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--crm-text);
}

/* Stat Box (Mini KPI) */
.crm-stat-box {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--crm-border);
    text-align: center;
}

.crm-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--crm-text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.crm-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--crm-text);
}

.crm-dashboard-row-dual {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.crm-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--crm-text);
    margin-bottom: 16px;
}

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

/* Responsive */
.crm-mobile-only { display: none !important; }

@media (max-width: 1024px) {
    .crm-dashboard-row-dual {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .crm-mobile-only { display: inline-flex !important; }

    .crm-app-container {
        flex-direction: column;
    }
    
    .crm-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px;
        z-index: 50;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    }
    
    .crm-sidebar.active {
        transform: translateX(0);
    }

    .crm-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 40;
        display: none;
    }

    .crm-sidebar.active + .crm-sidebar-overlay {
        display: block;
    }
    
    .crm-sidebar-nav {
        display: block;
    }
    
    .crm-main-content {
        height: 100vh;
        width: 100%;
    }
    
    .crm-col-6, .crm-col-4, .crm-col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .crm-view-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .crm-view-actions {
        width: 100%;
        margin-top: 12px;
    }
}

/* User Menu Dropdown */
.crm-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: #fff;
    border: 1px solid var(--crm-border);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 8px 0;
    z-index: 50;
    display: none;
    margin-top: 8px;
}

.crm-dropdown-menu.show {
    display: block;
}

.crm-dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: var(--crm-text);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    gap: 8px;
}

.crm-dropdown-item:hover {
    background-color: var(--crm-light);
}

.crm-dropdown-divider {
    height: 1px;
    background-color: var(--crm-border);
    margin: 8px 0;
}

body.crm-view-support-tickets .crm-view-header h1,
body.crm-view-support-open .crm-view-header h1,
body.crm-view-support-closed .crm-view-header h1,
body.crm-view-support-settings .crm-view-header h1 {
    font-size: 18px;
}

body.crm-view-support-tickets .crm-view-header .crm-text-muted,
body.crm-view-support-open .crm-view-header .crm-text-muted,
body.crm-view-support-closed .crm-view-header .crm-text-muted,
body.crm-view-support-settings .crm-view-header .crm-text-muted {
    font-size: 13px;
}

body.crm-view-support-tickets .crm-btn,
body.crm-view-support-open .crm-btn,
body.crm-view-support-closed .crm-btn,
body.crm-view-support-settings .crm-btn {
    font-size: 13px;
}

body.crm-view-support-tickets .crm-card-body,
body.crm-view-support-open .crm-card-body,
body.crm-view-support-closed .crm-card-body,
body.crm-view-support-settings .crm-card-body {
    font-size: 13px;
}

body.crm-view-support-tickets h2,
body.crm-view-support-open h2,
body.crm-view-support-closed h2,
body.crm-view-support-settings h2 {
    font-size: 16px;
}
