/* Ticket list, create, and detail views */
.lit-tickets { font-family: Inter, system-ui, -apple-system, sans-serif; color: #191c1e; }

/* Page header */
.lit-tickets-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.lit-tickets-title { margin: 0; font-size: 28px; font-weight: 700; color: #0f172a; letter-spacing: -0.02em; }
.lit-tickets-subtitle { margin: 6px 0 0; font-size: 14px; color: #64748b; }
.lit-tickets-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #0058be; color: #fff; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 500; border: none; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 88, 190, .2); transition: background .15s; }
.lit-tickets-btn:hover { background: #004395; color: #fff; }
.lit-tickets-btn--ghost { background: transparent; color: #64748b; box-shadow: none; }
.lit-tickets-btn--ghost:hover { background: #f1f5f9; color: #334155; }

/* Toolbar: filters + stat */
.lit-tickets-toolbar { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.lit-tickets-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; background: #fff; border: 1px solid #e8edf3; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.lit-tickets-filters select, .lit-tickets-filters input[type=search] { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; color: #334155; background: #fff; min-width: 130px; }
.lit-tickets-filters select:focus, .lit-tickets-filters input:focus { outline: none; border-color: #0058be; box-shadow: 0 0 0 3px rgba(0, 88, 190, .12); }
.lit-tickets-apply { padding: 8px 16px; background: #0058be; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.lit-tickets-apply:hover { background: #004395; }
.lit-tickets-clear { font-size: 14px; color: #64748b; text-decoration: none; }
.lit-tickets-clear:hover { color: #0058be; text-decoration: underline; }
.lit-tickets-stat { display: flex; align-items: center; gap: 14px; background: #f0f6ff; border: 1px solid #d0e1fb; border-radius: 12px; padding: 14px 20px; min-width: 160px; }
.lit-tickets-stat-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.lit-tickets-stat-value { display: block; font-size: 28px; font-weight: 700; color: #0f172a; line-height: 1.1; }
.lit-tickets-stat-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #dbeafe; color: #2563eb; border-radius: 10px; margin-left: auto; }

/* Table */
.lit-tickets-panel { background: #fff; border: 1px solid #e8edf3; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.lit-tickets-table-wrap { overflow-x: auto; }
.lit-tickets-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lit-tickets-table thead th { text-align: left; padding: 14px 16px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #94a3b8; border-bottom: 1px solid #eef2f6; white-space: nowrap; background: #fafbfc; }
.lit-tickets-table tbody td { padding: 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; color: #334155; }
.lit-tickets-table tbody tr:last-child td { border-bottom: none; }
.lit-tickets-table tbody tr:hover { background: #fafbfc; }
.lit-tickets-id { font-weight: 600; color: #0058be; white-space: nowrap; }
.lit-tickets-subject strong { display: block; font-weight: 600; color: #0f172a; margin-bottom: 2px; }
.lit-tickets-subject small { font-size: 12px; color: #94a3b8; }
.lit-tickets-customer { display: flex; align-items: center; gap: 10px; }
.lit-tickets-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.lit-tickets-status-text { font-weight: 600; color: #0f172a; }
.lit-tickets-empty { text-align: center; color: #94a3b8; padding: 48px 16px !important; }
.lit-tickets-view { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; color: #0058be; background: #f0f6ff; text-decoration: none; transition: background .15s; }
.lit-tickets-view:hover { background: #d0e1fb; color: #004395; }

/* Badges */
.lit-tickets .lit-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.lit-tickets .lit-status-open { background: #e8f0fe; color: #1557b0; }
.lit-tickets .lit-status-in_progress { background: #fffbeb; color: #92400e; }
.lit-tickets .lit-status-waiting_for_customer { background: #f1f5f9; color: #475569; }
.lit-tickets .lit-status-reopened { background: #e8f0fe; color: #1557b0; }
.lit-tickets .lit-status-on_hold { background: #f1f5f9; color: #64748b; }
.lit-tickets .lit-status-resolved, .lit-tickets .lit-status-closed { background: #f0fdf4; color: #166534; }
.lit-tickets .lit-status-pending, .lit-tickets .lit-status-waiting { background: #f1f5f9; color: #475569; }
.lit-tickets .lit-priority-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.lit-tickets .lit-priority-badge-urgent { background: #fee2e2; color: #dc2626; }
.lit-tickets .lit-priority-badge-high { background: #ffedd5; color: #ea580c; }
.lit-tickets .lit-priority-badge-medium { background: #f1f5f9; color: #475569; }
.lit-tickets .lit-priority-badge-low { background: #f8fafc; color: #64748b; }

/* Create ticket form */
.lit-create { font-family: Inter, system-ui, sans-serif; }
.lit-create-card { background: #fff; border: 1px solid #e8edf3; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.lit-create-body { display: grid; grid-template-columns: 1fr 280px; }
.lit-create-form { padding: 28px 32px; }
.lit-create-aside { padding: 28px 24px; border-left: 1px solid #eef2f6; background: #fafbfc; }
.lit-create-field { margin-bottom: 22px; }
.lit-create-field label, .lit-create-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #94a3b8; margin-bottom: 8px; }
.lit-create-field input[type=text], .lit-create-field select, .lit-create-field textarea { width: 100%; padding: 11px 14px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px; color: #0f172a; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.lit-create-field input:focus, .lit-create-field select:focus, .lit-create-field textarea:focus { outline: none; border-color: #0058be; box-shadow: 0 0 0 3px rgba(0, 88, 190, .12); }
.lit-create-field textarea { min-height: 140px; resize: vertical; }
.lit-create-hint { margin: 6px 0 0; font-size: 12px; color: #94a3b8; }
.lit-create-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lit-priority-segment { display: flex; background: #f1f5f9; border-radius: 10px; padding: 4px; gap: 2px; }
.lit-priority-segment input { position: absolute; opacity: 0; pointer-events: none; }
.lit-priority-segment label { flex: 1; text-align: center; padding: 8px 6px; font-size: 13px; font-weight: 500; color: #64748b; border-radius: 8px; cursor: pointer; transition: all .15s; }
.lit-priority-segment input:checked + label { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(15, 23, 42, .08); }
.lit-upload-zone { border: 2px dashed #d0d9e4; border-radius: 12px; padding: 32px 20px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.lit-upload-zone:hover, .lit-upload-zone.is-dragover { border-color: #0058be; background: #f8fbff; }
.lit-upload-zone input[type=file] { display: none; }
.lit-upload-icon { color: #0058be; margin-bottom: 8px; }
.lit-upload-text { font-size: 14px; color: #334155; margin: 0 0 4px; }
.lit-upload-text strong { color: #0058be; }
.lit-upload-meta { font-size: 12px; color: #94a3b8; margin: 0; }
.lit-create-tips-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #0058be; margin: 0 0 14px; }
.lit-create-tips { margin: 0 0 24px; padding-left: 20px; font-size: 13px; color: #64748b; line-height: 1.7; }
.lit-create-sla-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; margin: 0 0 10px; }
.lit-create-sla-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.lit-create-sla-table td { padding: 6px 0; color: #64748b; }
.lit-create-sla-table td:last-child { text-align: right; font-weight: 600; color: #334155; }
.lit-create-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; border-top: 1px solid #eef2f6; background: #fafbfc; flex-wrap: wrap; gap: 12px; }
.lit-create-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; margin: 0; }
.lit-create-actions { display: flex; align-items: center; gap: 12px; }

/* Ticket detail / reply */
.lit-detail { font-family: Inter, system-ui, sans-serif; }
.lit-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.lit-detail-main { min-width: 0; }
.lit-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.lit-detail-header-left { flex: 1; min-width: 0; }
.lit-detail-pills { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.lit-detail-id { display: inline-block; padding: 4px 12px; background: #e8f0fe; color: #1557b0; border-radius: 999px; font-size: 13px; font-weight: 600; }
.lit-detail-priority { font-size: 13px; font-weight: 600; }
.lit-detail-priority--urgent { color: #ea580c; }
.lit-detail-priority--high { color: #ea580c; }
.lit-detail-priority--medium { color: #64748b; }
.lit-detail-priority--low { color: #94a3b8; }
.lit-detail-title { margin: 0 0 6px; font-size: 24px; font-weight: 700; color: #0f172a; }
.lit-detail-order { margin: 0; font-size: 14px; color: #64748b; }
.lit-detail-resolve { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #0058be; color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; }
.lit-detail-resolve:hover { background: #004395; color: #fff; }

/* Conversation */
.lit-conversation { margin-bottom: 24px; }
.lit-conv-item { display: flex; gap: 12px; margin-bottom: 20px; }
.lit-conv-item--agent { flex-direction: row-reverse; }
.lit-conv-item--agent .lit-conv-bubble { background: #f0f6ff; border-color: #d0e1fb; }
.lit-conv-item--internal .lit-conv-bubble { background: #fffbeb; border: 1px dashed #fbbf24; }
.lit-conv-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.lit-conv-content { flex: 1; min-width: 0; max-width: 75%; }
.lit-conv-item--agent .lit-conv-content { text-align: right; }
.lit-conv-meta { font-size: 13px; font-weight: 600; color: #0f172a; margin-bottom: 4px; }
.lit-conv-meta time { font-weight: 400; color: #94a3b8; margin-left: 6px; }
.lit-conv-bubble { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #334155; line-height: 1.6; text-align: left; }
.lit-conv-bubble p { margin: 0 0 8px; }
.lit-conv-bubble p:last-child { margin-bottom: 0; }
.lit-conv-internal-tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; color: #b45309; margin-left: 6px; }
.lit-conv-source-tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; color: #0369a1; margin-left: 6px; }
.lit-conv-attachments { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lit-conv-attachment-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; color: #334155; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.lit-conv-attachment-link:hover { border-color: #0058be; box-shadow: 0 0 0 3px rgba(0, 88, 190, .08); color: #0058be; }
.lit-conv-attachment-preview { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; flex-shrink: 0; }
.lit-conv-attachment-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; background: #f1f5f9; color: #64748b; flex-shrink: 0; }
.lit-conv-attachment-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
.lit-conv-attachment-name { font-size: 13px; font-weight: 600; word-break: break-word; }
.lit-conv-attachment-size { font-size: 12px; color: #94a3b8; }
.lit-conv-item--agent .lit-conv-attachments { align-items: flex-end; }
.lit-conv-item--agent .lit-conv-attachment-link { flex-direction: row-reverse; text-align: right; }
.lit-conv-item--agent .lit-conv-attachment-meta { align-items: flex-end; }

/* Reply composer */
.lit-composer { background: #fff; border: 1px solid #e8edf3; border-radius: 14px; overflow: hidden; }
.lit-ai-suggest { background: #f0f6ff; border-bottom: 1px solid #d0e1fb; padding: 14px 18px; }
.lit-ai-suggest-text { margin: 0 0 8px; font-size: 14px; color: #334155; font-style: italic; display: none; }
.lit-ai-suggest-text.is-visible { display: block; }
.lit-ai-suggest-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lit-ai-use { font-size: 13px; font-weight: 500; color: #0058be; background: none; border: none; cursor: pointer; padding: 0; text-decoration: underline; }
.lit-ai-regen { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #64748b; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.lit-ai-regen:hover { border-color: #0058be; color: #0058be; }
.lit-composer-tabs { display: flex; border-bottom: 1px solid #eef2f6; padding: 0 18px; }
.lit-composer-tab { padding: 12px 16px; font-size: 14px; font-weight: 500; color: #64748b; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; margin-bottom: -1px; }
.lit-composer-tab.is-active { color: #0058be; border-bottom-color: #0058be; }
.lit-composer-body { padding: 16px 18px; }
.lit-composer-body textarea { width: 100%; min-height: 100px; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; font-size: 14px; resize: vertical; box-sizing: border-box; }
.lit-composer-body textarea:focus { outline: none; border-color: #0058be; box-shadow: 0 0 0 3px rgba(0, 88, 190, .12); }
.lit-composer-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid #eef2f6; background: #fafbfc; flex-wrap: wrap; gap: 10px; }
.lit-composer-options { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #64748b; }
.lit-composer-options label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.lit-yes-no-toggle { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lit-yes-no-buttons { display: inline-flex; border: 1px solid #c2c6d6; border-radius: 8px; overflow: hidden; background: #f8fafc; }
.lit-yes-no-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lit-yes-no-btn { display: inline-block; padding: 6px 16px; font-size: 13px; font-weight: 500; color: #64748b; background: transparent; border: none; cursor: pointer; transition: background .15s, color .15s; user-select: none; margin: 0; }
.lit-yes-no-buttons .lit-yes-no-btn:last-of-type { border-left: 1px solid #c2c6d6; }
.lit-yes-no-btn:hover { color: #0058be; background: #eef4fc; }
.lit-yes-no-input:checked + .lit-yes-no-btn { background: #0058be; color: #fff; }
.lit-yes-no-input:checked + .lit-yes-no-btn:hover { background: #004395; color: #fff; }
.lit-yes-no-hint { font-size: 13px; color: #64748b; }
.lit-composer-send { display: flex; align-items: center; gap: 10px; }
.lit-file-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; color: #334155; cursor: pointer; }
.lit-file-btn:hover { border-color: #0058be; }
.lit-file-btn input { display: none; }

.lit-detail .lit-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.lit-detail .lit-status-open { background: #e8f0fe; color: #1557b0; }
.lit-detail .lit-status-in_progress { background: #fffbeb; color: #92400e; }
.lit-detail .lit-status-resolved, .lit-detail .lit-status-closed { background: #f0fdf4; color: #166534; }

/* Sidebar badges (detail view) */
.lit-detail-sidebar { display: flex; flex-direction: column; gap: 16px; }
.lit-sidebar-card { background: #fff; border: 1px solid #e8edf3; border-radius: 12px; padding: 18px; }
.lit-sidebar-card h3 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: #0f172a; }
.lit-sidebar-field { margin-bottom: 12px; }
.lit-sidebar-field:last-child { margin-bottom: 0; }
.lit-sidebar-field label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; margin-bottom: 6px; }
.lit-sidebar-field select { width: 100%; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; }
.lit-sidebar-sla { font-size: 13px; font-weight: 600; color: #dc2626; margin-top: 8px; }
.lit-sidebar-sla.is-ok { color: #16a34a; }
.lit-sidebar-customer { display: flex; align-items: center; gap: 12px; }
.lit-sidebar-customer-info strong { display: block; font-size: 14px; color: #0f172a; }
.lit-sidebar-customer-info span { font-size: 13px; color: #64748b; word-break: break-all; }
.lit-timeline { list-style: none; margin: 0; padding: 0; }
.lit-timeline li { position: relative; padding: 0 0 16px 20px; font-size: 13px; color: #64748b; }
.lit-timeline li:last-child { padding-bottom: 0; }
.lit-timeline li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; background: #0058be; border-radius: 50%; }
.lit-timeline li::after { content: ''; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: #e2e8f0; }
.lit-timeline li:last-child::after { display: none; }
.lit-timeline strong { color: #334155; }

/* Admin overrides */
.lucrativeit-stp-admin .lit-tickets { margin-top: 8px; }

@media (max-width: 1024px) {
	.lit-detail-grid { grid-template-columns: 1fr; }
	.lit-create-body { grid-template-columns: 1fr; }
	.lit-create-aside { border-left: none; border-top: 1px solid #eef2f6; }
}
@media (max-width: 768px) {
	.lit-create-row { grid-template-columns: 1fr; }
	.lit-tickets-toolbar { flex-direction: column; }
	.lit-conv-content { max-width: 100%; }
}

/* Notifications page */
.lit-notifications-page .lit-mark-all-read { border: none; }
.lit-notifications-summary { flex: 1; }
.lit-notifications-filter-label { font-size: 14px; color: #64748b; }
.lit-notifications-list { list-style: none; margin: 0; padding: 0; }
.lit-notification-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.lit-notification-item:last-child { border-bottom: none; }
.lit-notification-item:hover { background: #fafbfc; }
.lit-notification-item.is-unread { background: #f8fbff; }
.lit-notification-dot { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; flex-shrink: 0; }
.lit-notification-item.is-unread .lit-notification-dot { background: #0058be; }
.lit-notification-body { flex: 1; min-width: 0; }
.lit-notification-subject { margin: 0 0 4px; font-size: 14px; font-weight: 500; color: #0f172a; }
.lit-notification-item.is-read .lit-notification-subject { color: #64748b; font-weight: 400; }
.lit-notification-time { font-size: 12px; color: #94a3b8; }
.lit-notifications-empty, .lit-kb-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 64px 24px !important; color: #94a3b8; }
.lit-notifications-empty svg, .lit-kb-empty svg { color: #cbd5e1; }

/* Knowledge Base page */
.lit-kb-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: #0058be; text-decoration: none; margin-bottom: 10px; }
.lit-kb-back:hover { color: #004395; text-decoration: underline; }
.lit-kb-cat-badge { display: inline-block; padding: 4px 10px; background: #f0f6ff; color: #0058be; border-radius: 6px; font-size: 12px; font-weight: 600; }
.lit-kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 20px; }
.lit-kb-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: #fafbfc; border: 1px solid #eef2f6; border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.lit-kb-card:hover { border-color: #0058be; box-shadow: 0 2px 8px rgba(0, 88, 190, .08); }
.lit-kb-card-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #f0f6ff; color: #0058be; border-radius: 10px; }
.lit-kb-card-title { font-size: 15px; font-weight: 600; color: #0f172a; line-height: 1.4; }
.lit-kb-cat { font-size: 12px; color: #64748b; }
.lit-kb-article-body { padding: 28px 32px; font-size: 15px; line-height: 1.7; color: #334155; }
.lit-kb-article-body p { margin: 0 0 16px; }
.lit-kb-article-body h2, .lit-kb-article-body h3 { color: #0f172a; margin: 24px 0 12px; }

/* Login prompt */
.lit-login-wrap { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1280px; margin: 0 auto; min-height: 50vh; padding: 32px 24px; font-family: Inter, system-ui, sans-serif; box-sizing: border-box; }
.lit-login-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid #e8edf3; border-radius: 16px; padding: 40px 36px; text-align: center; box-shadow: 0 4px 24px rgba(15, 23, 42, .06); }
.lit-login-brand { margin-bottom: 28px; }
.lit-login-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: #f0f6ff; color: #0058be; border-radius: 14px; margin-bottom: 16px; }
.lit-login-title { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: #0f172a; }
.lit-login-subtitle { margin: 0; font-size: 14px; color: #64748b; line-height: 1.5; }
.lit-login-actions { display: flex; flex-direction: column; gap: 10px; }
.lit-login-btn { justify-content: center; width: 100%; box-sizing: border-box; }
.lit-login-card .lit-powered { margin: 24px 0 0; font-size: 12px; color: #94a3b8; }

/* Admin management pages */
.lit-admin-page-body { padding: 24px 28px; }
.lit-admin-page-body h2 { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: #0f172a; }
.lit-admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lit-admin-form-card { background: #fafbfc; border: 1px solid #eef2f6; border-radius: 12px; padding: 20px 24px; }
.lit-admin-form-card .form-table th { padding: 12px 10px 12px 0; font-size: 13px; font-weight: 500; color: #64748b; }
.lit-admin-form-card .form-table td { padding: 10px 0; }
.lit-admin-form-card input[type=text], .lit-admin-form-card input[type=email], .lit-admin-form-card input[type=password], .lit-admin-form-card input[type=number], .lit-admin-form-card select, .lit-admin-form-card textarea { border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 12px; }
.lit-admin-table-wrap { overflow-x: auto; }
.lit-admin-table-wrap .wp-list-table { border: none; border-radius: 0; }
.lit-admin-table-wrap .wp-list-table thead th { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #94a3b8; background: #fafbfc; border-bottom: 1px solid #eef2f6; }
.lit-admin-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; padding: 20px; border-bottom: 1px solid #eef2f6; }
.lit-admin-metric { background: #f0f6ff; border: 1px solid #d0e1fb; border-radius: 12px; padding: 18px 20px; text-align: center; }
.lit-admin-metric.is-warning { background: #fef2f2; border-color: #fecaca; }
.lit-admin-metric-value { display: block; font-size: 28px; font-weight: 700; color: #0f172a; line-height: 1.1; }
.lit-admin-metric.is-warning .lit-admin-metric-value { color: #dc2626; }
.lit-admin-metric-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #64748b; margin-top: 4px; }
.lit-admin-section { padding: 20px 24px; border-bottom: 1px solid #eef2f6; }
.lit-admin-section:last-child { border-bottom: none; }
.lit-admin-section h2 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: #0f172a; }
.lit-settings-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 16px 20px 0; border-bottom: 1px solid #eef2f6; background: #fafbfc; }
.lit-settings-tab { padding: 10px 16px; font-size: 13px; font-weight: 500; color: #64748b; text-decoration: none; border-radius: 8px 8px 0 0; border: 1px solid transparent; border-bottom: none; margin-bottom: -1px; }
.lit-settings-tab:hover { color: #0058be; background: #fff; }
.lit-settings-tab.is-active { color: #0058be; background: #fff; border-color: #eef2f6; font-weight: 600; }
.lit-settings-body { padding: 24px 28px; }
.lit-settings-body .form-table th { font-size: 13px; font-weight: 500; color: #64748b; }
.lit-template-card { background: #fafbfc; border: 1px solid #eef2f6; border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; }
.lit-template-card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: #0f172a; }

@media (max-width: 900px) {
	.lit-admin-two-col { grid-template-columns: 1fr; }
	.lit-kb-grid { grid-template-columns: 1fr; }
}
