/* Launchmind Dashboard — Brand Refresh */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ── Brand Palette ── */
:root {
    --lm-gold: #F5C518;
    --lm-gold-dark: #D4A910;
    --lm-gold-light: #FEF3C7;
    --lm-gold-50: #FFFBEB;
    --lm-charcoal: #1C1C1E;
    --lm-charcoal-light: #2C2C2E;
    --lm-gray-50: #FAFAFA;
    --lm-gray-100: #F4F4F5;
    --lm-gray-200: #E4E4E7;
    --lm-gray-300: #D4D4D8;
    --lm-gray-500: #71717A;
    --lm-gray-600: #52525B;
    --lm-gray-700: #3F3F46;
    --lm-gray-900: #18181B;
    --lm-radius: 12px;
    --lm-radius-sm: 8px;
    --lm-radius-xs: 6px;
    --lm-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.06);
    --lm-shadow-md: 0 2px 8px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
    --lm-shadow-lg: 0 4px 12px rgba(0,0,0,0.1), 0 16px 40px rgba(0,0,0,0.1);
    --lm-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --lm-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Layout ── */
.launchmind-dashboard { max-width: 1400px; margin: 20px auto; padding: 0 20px; }

/* ── Header ── */
.lm-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 28px;
    background: var(--lm-charcoal);
    border-radius: var(--lm-radius);
    box-shadow: var(--lm-shadow-md);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.lm-header::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(245,197,24,0.12) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(245,197,24,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.lm-header__info { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.lm-logo { width: 48px; height: 48px; border-radius: var(--lm-radius-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.lm-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--lm-radius-sm); }
.lm-header__text h1 { margin: 0; font-family: var(--lm-font-display); font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.lm-header__text p { margin: 4px 0 0; color: rgba(255,255,255,0.55); font-size: 13px; }
.lm-header__actions { display: flex; gap: 10px; position: relative; z-index: 1; }
.lm-header__actions .button {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.85) !important;
    background: rgba(255,255,255,0.06) !important;
    transition: var(--lm-transition);
}
.lm-header__actions .button:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.25) !important;
    color: #fff !important;
}
.lm-header__actions .button-primary {
    background: var(--lm-gold) !important;
    border-color: var(--lm-gold) !important;
    color: var(--lm-charcoal) !important;
    font-weight: 600;
}
.lm-header__actions .button-primary:hover {
    background: var(--lm-gold-dark) !important;
    border-color: var(--lm-gold-dark) !important;
}

/* ── Stat Cards ── */
.lm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 1024px) { .lm-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lm-stats { grid-template-columns: 1fr; } }

.lm-stat-card {
    background: #fff; padding: 20px 24px;
    border-radius: var(--lm-radius); box-shadow: var(--lm-shadow);
    border: 1px solid var(--lm-gray-200);
    display: flex; align-items: flex-start; gap: 16px;
    transition: var(--lm-transition);
}
.lm-stat-card:hover { box-shadow: var(--lm-shadow-md); }

.lm-stat-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lm-stat-icon svg { width: 22px; height: 22px; }
.lm-stat-icon--articles { background: var(--lm-gold-light); color: var(--lm-gold-dark); }
.lm-stat-icon--week { background: #DBEAFE; color: #2563EB; }
.lm-stat-icon--month { background: #EDE9FE; color: #7C3AED; }
.lm-stat-icon--status { background: #D1FAE5; color: #059669; }

.lm-stat-content { flex: 1; min-width: 0; }
.lm-stat-value { font-family: var(--lm-font-display); font-size: 2rem; font-weight: 800; color: var(--lm-gray-900); line-height: 1; letter-spacing: -0.02em; }
.lm-stat-label { color: var(--lm-gray-500); font-size: 13px; margin-top: 4px; font-weight: 500; }

.lm-stat-card--status { border-color: #BBF7D0; background: linear-gradient(135deg, #F0FDF4 0%, #fff 100%); }
.lm-stat-status { display: flex; align-items: center; gap: 8px; font-family: var(--lm-font-display); font-size: 1.15rem; font-weight: 700; color: #059669; }
.lm-status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lm-gray-300); }
.lm-status-dot--active { background: #10B981; box-shadow: 0 0 0 3px #D1FAE5; animation: lmPulse 2s infinite; }
@keyframes lmPulse { 0%, 100% { box-shadow: 0 0 0 3px #D1FAE5; } 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.1); } }

/* ── Notice ── */
.lm-notice {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px;
    border-radius: var(--lm-radius-sm);
    margin-bottom: 24px;
    font-size: 13px;
    position: relative;
}
.lm-notice--info { background: var(--lm-gold-50); border: 1px solid var(--lm-gold-light); }
.lm-notice .dashicons { color: var(--lm-gold-dark); font-size: 18px; flex-shrink: 0; }
.lm-notice p { margin: 0; font-size: 13px; color: var(--lm-gray-700); }
.lm-notice a { color: var(--lm-charcoal); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lm-gold); text-underline-offset: 2px; }
.lm-notice a:hover { text-decoration-color: var(--lm-charcoal); }
.lm-notice__dismiss {
    position: absolute; top: 10px; right: 12px;
    background: none; border: none; cursor: pointer;
    color: var(--lm-gray-500); font-size: 18px; line-height: 1;
    padding: 2px 6px; border-radius: 4px;
    transition: var(--lm-transition);
}
.lm-notice__dismiss:hover { background: rgba(0,0,0,0.06); color: var(--lm-gray-700); }

/* ── Tabs ── */
.lm-tabs { background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); border: 1px solid var(--lm-gray-200); overflow: hidden; }
.lm-tabs__nav { display: flex; border-bottom: 1px solid var(--lm-gray-200); padding: 0 24px; background: var(--lm-gray-50); }
.lm-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 20px; color: var(--lm-gray-500); text-decoration: none;
    font-weight: 500; font-size: 13px;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: var(--lm-transition);
}
.lm-tab:hover { color: var(--lm-gray-700); }
.lm-tab--active { color: var(--lm-charcoal); border-bottom-color: var(--lm-gold); font-weight: 600; background: #fff; }
.lm-tab__badge { background: var(--lm-gray-200); color: var(--lm-gray-600); padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.lm-tab--active .lm-tab__badge { background: var(--lm-gold-light); color: var(--lm-gold-dark); }
.lm-tabs__content { padding: 24px; }

/* ── Search ── */
.lm-search {
    display: flex; align-items: center; gap: 12px;
    background: var(--lm-gray-50); border: 1px solid var(--lm-gray-200);
    border-radius: var(--lm-radius-sm); padding: 10px 16px; margin-bottom: 24px;
    transition: var(--lm-transition);
}
.lm-search:focus-within { border-color: var(--lm-gold); box-shadow: 0 0 0 3px var(--lm-gold-light); }
.lm-search input { flex: 1; border: none; background: transparent; font-size: 13px; outline: none; }

/* ── Article Cards ── */
.lm-articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.lm-article-card {
    background: #fff; border-radius: var(--lm-radius);
    border: 1px solid var(--lm-gray-200); overflow: hidden;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lm-article-card:hover { box-shadow: var(--lm-shadow-lg); transform: translateY(-3px); border-color: var(--lm-gray-300); }
.lm-article-card__image { position: relative; aspect-ratio: 16/9; background: var(--lm-gray-100); overflow: hidden; }
.lm-article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.lm-article-card:hover .lm-article-card__image img { transform: scale(1.06); }
.lm-article-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--lm-gray-300); }
.lm-article-card__badge { position: absolute; top: 8px; left: 8px; background: var(--lm-charcoal); color: var(--lm-gold); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: var(--lm-radius-xs); text-transform: uppercase; letter-spacing: 0.04em; }
.lm-article-card__date { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.65); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: var(--lm-radius-xs); backdrop-filter: blur(4px); }
.lm-article-card__content { padding: 16px; }
.lm-article-card__title { margin: 0 0 6px; font-family: var(--lm-font-display); font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--lm-gray-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-article-card__excerpt { margin: 0 0 12px; font-size: 12px; color: var(--lm-gray-500); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lm-article-card__tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.lm-tag { font-size: 10px; padding: 2px 8px; background: var(--lm-gray-100); border-radius: var(--lm-radius-xs); color: var(--lm-gray-500); font-weight: 500; }
.lm-article-card__view { display: inline-flex; align-items: center; gap: 4px; color: var(--lm-charcoal); font-size: 12px; font-weight: 600; background: none; border: none; padding: 0; cursor: pointer; transition: var(--lm-transition); }
.lm-article-card__view:hover { color: var(--lm-gold-dark); }

/* ── Pagination ── */
.lm-pagination {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-top: 24px; padding-top: 20px;
    border-top: 1px solid var(--lm-gray-200);
}
.lm-pagination__btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 16px; border-radius: var(--lm-radius-sm);
    font-size: 13px; font-weight: 600; text-decoration: none;
    background: #fff; border: 1px solid var(--lm-gray-200); color: var(--lm-charcoal);
    transition: var(--lm-transition); cursor: pointer;
}
.lm-pagination__btn:hover { border-color: var(--lm-gold); background: var(--lm-gold-50); color: var(--lm-charcoal); }
.lm-pagination__btn--disabled { opacity: 0.4; pointer-events: none; cursor: default; }
.lm-pagination__info { font-size: 13px; font-weight: 600; color: var(--lm-gray-700); }
.lm-pagination__total { font-weight: 400; color: var(--lm-gray-500); }

/* ── Modal ── */
.lm-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.lm-modal--visible { display: flex; }
.lm-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); animation: lmFadeIn 0.2s ease; }
.lm-modal__content {
    position: relative; background: #fff;
    border-radius: var(--lm-radius); max-width: 800px; width: 90%; max-height: 90vh;
    display: flex; flex-direction: column;
    box-shadow: var(--lm-shadow-lg);
    animation: lmModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lmModalIn { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.lm-modal__header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--lm-gray-200); }
.lm-modal__title { margin: 0; font-family: var(--lm-font-display); font-size: 1.15rem; font-weight: 700; color: var(--lm-gray-900); }
.lm-modal__close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--lm-gray-500); line-height: 1; padding: 4px 8px; border-radius: var(--lm-radius-xs); transition: var(--lm-transition); }
.lm-modal__close:hover { background: var(--lm-gray-100); color: var(--lm-gray-900); }
.lm-modal__body { padding: 24px; overflow-y: auto; flex: 1; }
.lm-modal__body img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.lm-modal__footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--lm-gray-200); background: var(--lm-gray-50); border-radius: 0 0 var(--lm-radius) var(--lm-radius); }
.lm-modal__footer .button-primary {
    background: var(--lm-gold) !important; border-color: var(--lm-gold) !important;
    color: var(--lm-charcoal) !important; font-weight: 600;
}
.lm-modal__footer .button-primary:hover { background: var(--lm-gold-dark) !important; }

/* ── Empty State ── */
.lm-empty-state { text-align: center; padding: 60px 20px; }
.lm-empty-state__mascot { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px; overflow: hidden; }
.lm-empty-state__mascot img { width: 100%; height: 100%; object-fit: cover; }
.lm-empty-state h2, .lm-empty-state h3 { margin: 0 0 8px; font-family: var(--lm-font-display); font-weight: 700; color: var(--lm-gray-900); }
.lm-empty-state p { margin: 0 0 24px; color: var(--lm-gray-500); font-size: 14px; max-width: 400px; margin-left: auto; margin-right: auto; }
.lm-empty-state__actions { display: flex; gap: 10px; justify-content: center; }
.lm-empty-state__actions .button-primary {
    background: var(--lm-gold) !important; border-color: var(--lm-gold) !important;
    color: var(--lm-charcoal) !important; font-weight: 600;
}
.lm-empty-state__actions .button-primary:hover { background: var(--lm-gold-dark) !important; }

/* ── Loading ── */
.lm-loading { display: inline-flex; align-items: center; gap: 8px; color: var(--lm-gray-500); font-size: 13px; }
.lm-spinner {
    width: 16px; height: 16px;
    border: 2px solid var(--lm-gray-200);
    border-top-color: var(--lm-gold);
    border-radius: 50%;
    animation: lmSpin 0.6s linear infinite;
}
@keyframes lmSpin { to { transform: rotate(360deg); } }

.lm-skeleton {
    background: linear-gradient(90deg, var(--lm-gray-100) 25%, var(--lm-gray-50) 50%, var(--lm-gray-100) 75%);
    background-size: 200% 100%;
    animation: lmShimmer 1.5s infinite;
    border-radius: var(--lm-radius-xs);
}
@keyframes lmShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Analytics ── */
.lm-analytics__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.lm-analytics-card { background: #fff; border-radius: var(--lm-radius); padding: 20px; border: 1px solid var(--lm-gray-200); transition: var(--lm-transition); }
.lm-analytics-card:hover { box-shadow: var(--lm-shadow); }
.lm-analytics-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lm-analytics-card__label { color: var(--lm-gray-500); font-size: 13px; font-weight: 500; }
.lm-analytics-card__icon { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.lm-analytics-card__icon--blue { background: #DBEAFE; color: #2563EB; }
.lm-analytics-card__icon--green { background: #D1FAE5; color: #059669; }
.lm-analytics-card__icon--yellow { background: var(--lm-gold-light); color: var(--lm-gold-dark); }
.lm-analytics-card__value { font-family: var(--lm-font-display); font-size: 2rem; font-weight: 800; color: var(--lm-gray-900); letter-spacing: -0.02em; }
.lm-analytics-card__subtext { color: var(--lm-gray-500); font-size: 13px; }
.lm-analytics__section { background: #fff; border-radius: var(--lm-radius); border: 1px solid var(--lm-gray-200); padding: 20px; margin-top: 16px; }
.lm-analytics__section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lm-analytics__section-header h3 { font-family: var(--lm-font-display); font-weight: 700; }
.lm-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--lm-charcoal); font-weight: 600; font-size: 13px; transition: var(--lm-transition); }
.lm-link:hover { color: var(--lm-gold-dark); }
.lm-analytics__table table { width: 100%; border-collapse: collapse; }
.lm-analytics__table th { padding: 10px 8px; border-bottom: 2px solid var(--lm-gray-200); text-align: left; font-size: 12px; font-weight: 600; color: var(--lm-gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.lm-analytics__table td { padding: 12px 8px; border-bottom: 1px solid var(--lm-gray-100); }
.lm-article-row { display: flex; align-items: center; gap: 10px; }
.lm-article-row img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--lm-radius-xs); }
.lm-article-row strong { font-size: 13px; display: block; }
.lm-article-row span { font-size: 11px; color: var(--lm-gray-500); }
.lm-badge { display: inline-flex; align-items: center; padding: 3px 10px; font-size: 11px; border-radius: 999px; background: var(--lm-gray-100); color: var(--lm-gray-600); font-weight: 600; }
.lm-badge--success { background: #D1FAE5; color: #059669; }
.lm-analytics__cta { background: var(--lm-charcoal); border-radius: var(--lm-radius); padding: 24px; margin-top: 16px; position: relative; overflow: hidden; }
.lm-analytics__cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 30%, rgba(245,197,24,0.15) 0%, transparent 50%); pointer-events: none; }
.lm-analytics__cta h3 { color: #fff; font-family: var(--lm-font-display); font-weight: 700; margin: 0 0 8px; position: relative; }
.lm-analytics__cta p { color: rgba(255,255,255,0.6); font-size: 13px; margin: 0 0 16px; position: relative; }
.lm-analytics__cta .button-primary {
    background: var(--lm-gold) !important; border-color: var(--lm-gold) !important;
    color: var(--lm-charcoal) !important; font-weight: 600; position: relative;
}

/* ── Settings ── */
.lm-settings__section {
    background: #fff; border: 1px solid var(--lm-gray-200);
    border-radius: var(--lm-radius); padding: 24px; margin-bottom: 16px;
}
.lm-settings__section h3 { font-family: var(--lm-font-display); font-weight: 700; margin: 0 0 4px; color: var(--lm-gray-900); font-size: 15px; }
.lm-settings__section > .description:first-of-type { margin-top: 0; margin-bottom: 16px; }
.lm-settings__section--highlight { background: var(--lm-gold-50); border-color: var(--lm-gold-light); }
.lm-steps { list-style: none; padding: 0; margin: 12px 0; }
.lm-steps li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.lm-step-number { width: 24px; height: 24px; border-radius: 50%; background: var(--lm-charcoal); color: var(--lm-gold); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.lm-usage-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.lm-usage-option h4 { margin-top: 0; display: flex; align-items: center; gap: 8px; font-family: var(--lm-font-display); font-size: 14px; }
.lm-shortcode code { display: inline-block; background: var(--lm-gray-100); padding: 6px 10px; border-radius: var(--lm-radius-xs); font-size: 12px; }
.lm-badge--recommended { background: var(--lm-gold-light); color: var(--lm-gold-dark); padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; }
.lm-actions--inline { display: flex; gap: 8px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.lm-button--danger { color: #DC2626 !important; border-color: #FECACA !important; }
.lm-button--danger:hover { background: #FEF2F2 !important; }
.lm-result { font-size: 13px; padding: 6px 12px; border-radius: var(--lm-radius-xs); }
.lm-result--success { background: #D1FAE5; color: #059669; }
.lm-result--error { background: #FEE2E2; color: #DC2626; }

/* ── Settings form overrides ── */
.lm-settings .form-table th { font-size: 13px; font-weight: 600; color: var(--lm-gray-700); }
.lm-settings .form-table input[type="text"],
.lm-settings .form-table input[type="url"],
.lm-settings .form-table input[type="password"],
.lm-settings .form-table input[type="number"] {
    border-radius: var(--lm-radius-xs); border-color: var(--lm-gray-300);
    transition: var(--lm-transition);
}
.lm-settings .form-table input:focus { border-color: var(--lm-gold); box-shadow: 0 0 0 3px var(--lm-gold-light); outline: none; }

/* ── Collapsible sections ── */
.lm-collapse { list-style: none; }
.lm-collapse__trigger { cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.lm-collapse__trigger h3 { margin: 0; pointer-events: none; }
.lm-collapse__trigger::after { content: '+'; font-size: 18px; font-weight: 700; color: var(--lm-gray-400); transition: var(--lm-transition); flex-shrink: 0; width: 24px; text-align: center; }
.lm-collapse[open] > .lm-collapse__trigger::after { content: '\2212'; color: var(--lm-gray-600); }
.lm-collapse__body { padding-top: 16px; animation: lmFadeIn 0.2s ease; }
.lm-collapse__trigger::-webkit-details-marker { display: none; }

/* ── Callout ── */
.lm-callout { padding: 12px 16px; margin-top: 12px; border-radius: 0 var(--lm-radius-xs) var(--lm-radius-xs) 0; font-size: 13px; line-height: 1.5; }
.lm-callout--warn { background: var(--lm-gold-50); border-left: 3px solid var(--lm-gold); }
.lm-callout strong { display: block; margin-bottom: 2px; }

/* ── Options table ── */
.lm-options-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.lm-options-table th { text-align: left; padding: 8px; border-bottom: 2px solid var(--lm-gray-200); font-weight: 600; color: var(--lm-gray-600); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.lm-options-table td { padding: 8px; border-bottom: 1px solid var(--lm-gray-100); }
.lm-options-table code { font-size: 12px; background: var(--lm-gray-100); padding: 2px 6px; border-radius: 4px; }

/* ── Docs link ── */
.lm-docs-link {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    background: var(--lm-gray-50); border: 1px solid var(--lm-gray-200);
    border-radius: var(--lm-radius-sm);
    text-decoration: none; color: var(--lm-gray-700);
    transition: var(--lm-transition);
    font-size: 13px;
}
.lm-docs-link:hover { border-color: var(--lm-gold); background: var(--lm-gold-50); color: var(--lm-charcoal); }
.lm-docs-link__icon { font-size: 20px; flex-shrink: 0; }
.lm-docs-link__text strong { display: block; font-family: var(--lm-font-display); font-weight: 700; color: var(--lm-gray-900); margin-bottom: 2px; }

/* ── Setup Wizard ── */
.lm-wizard { max-width: 560px; margin: 40px auto; }
.lm-wizard__header { text-align: center; margin-bottom: 32px; }
.lm-wizard__logo { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; overflow: hidden; box-shadow: var(--lm-shadow-md); }
.lm-wizard__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.lm-wizard__header h1 { margin: 0 0 4px; font-family: var(--lm-font-display); font-size: 1.5rem; font-weight: 800; color: var(--lm-gray-900); letter-spacing: -0.02em; }
.lm-wizard__header p { margin: 0; color: var(--lm-gray-500); font-size: 14px; }

.lm-wizard__steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 32px; }
.lm-wizard__step { display: flex; align-items: center; gap: 8px; padding: 8px 16px; }
.lm-wizard__step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--lm-gray-200); color: var(--lm-gray-500); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; transition: all 0.3s; }
.lm-wizard__step-label { font-size: 13px; color: var(--lm-gray-500); font-weight: 500; }
.lm-wizard__step--active .lm-wizard__step-num { background: var(--lm-charcoal); color: var(--lm-gold); box-shadow: 0 0 0 4px rgba(28,28,30,0.1); }
.lm-wizard__step--active .lm-wizard__step-label { color: var(--lm-gray-900); font-weight: 600; }
.lm-wizard__step--done .lm-wizard__step-num { background: var(--lm-gold); color: var(--lm-charcoal); }
.lm-wizard__step--done .lm-wizard__step-label { color: var(--lm-gold-dark); }
.lm-wizard__step-line { width: 40px; height: 2px; background: var(--lm-gray-200); }

.lm-wizard__panel { display: none; }
.lm-wizard__panel--active { display: block; animation: lmFadeIn 0.3s ease; }
@keyframes lmFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.lm-wizard__card { background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow-md); padding: 32px; border: 1px solid var(--lm-gray-200); }
.lm-wizard__card h2 { margin: 0 0 8px; font-family: var(--lm-font-display); font-size: 1.2rem; font-weight: 700; color: var(--lm-gray-900); }
.lm-wizard__card > p { margin: 0 0 24px; color: var(--lm-gray-500); font-size: 14px; }

.lm-wizard__instructions { list-style: none; padding: 0; margin: 0 0 24px; }
.lm-wizard__instructions li { display: flex; flex-direction: column; padding: 12px 16px; border-left: 3px solid var(--lm-gray-200); margin-bottom: 8px; transition: border-color 0.2s; }
.lm-wizard__instructions li:hover { border-left-color: var(--lm-gold); }
.lm-wizard__instructions li strong { font-size: 13px; color: var(--lm-gray-900); margin-bottom: 2px; }
.lm-wizard__instructions li span { font-size: 12px; color: var(--lm-gray-500); }

.lm-wizard__field { margin-bottom: 20px; }
.lm-wizard__field label { display: block; font-weight: 600; font-size: 13px; color: var(--lm-gray-900); margin-bottom: 6px; }
.lm-wizard__field input { width: 100%; padding: 10px 14px; border: 1px solid var(--lm-gray-300); border-radius: var(--lm-radius-sm); font-size: 14px; transition: var(--lm-transition); box-sizing: border-box; }
.lm-wizard__field input:focus { border-color: var(--lm-gold); box-shadow: 0 0 0 3px var(--lm-gold-light); outline: none; }
.lm-wizard__field-hint { font-size: 12px; color: var(--lm-gray-500); margin-top: 4px; display: block; }

.lm-wizard__error { background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--lm-radius-sm); color: #DC2626; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }

.lm-wizard__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.lm-wizard__actions--center { justify-content: center; }
.lm-wizard__btn--next,
.lm-wizard__btn--connect,
.lm-wizard__btn--finish { padding: 10px 24px !important; font-size: 14px !important; font-weight: 600 !important; }
.lm-wizard__btn--next,
.lm-wizard__btn--connect,
.lm-wizard__btn--finish {
    background: var(--lm-gold) !important; border-color: var(--lm-gold) !important;
    color: var(--lm-charcoal) !important;
}
.lm-wizard__btn--next:hover,
.lm-wizard__btn--connect:hover,
.lm-wizard__btn--finish:hover { background: var(--lm-gold-dark) !important; }

.lm-wizard__card--success { text-align: center; }
.lm-wizard__success-icon { margin-bottom: 16px; }
.lm-wizard__summary { background: var(--lm-gray-50); border-radius: var(--lm-radius-sm); padding: 16px 20px; margin: 24px 0; text-align: left; border: 1px solid var(--lm-gray-200); }
.lm-wizard__summary-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--lm-gray-200); }
.lm-wizard__summary-item:last-child { border-bottom: none; }
.lm-wizard__summary-label { font-size: 13px; font-weight: 600; color: var(--lm-gray-700); }
.lm-wizard__summary-item a { font-size: 13px; color: var(--lm-charcoal); text-decoration: none; font-weight: 500; }
.lm-wizard__summary-active { font-size: 13px; color: #059669; font-weight: 500; }

/* ── Powered by ── */
.lm-footer { text-align: center; padding: 24px 0 8px; font-size: 12px; color: var(--lm-gray-500); }
.lm-footer a { color: var(--lm-gray-600); text-decoration: none; font-weight: 500; }
.lm-footer a:hover { color: var(--lm-charcoal); }
