.abma-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 0 48px;
    color: #171512;
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.abma-mt-sm { margin-top: 12px; }
.abma-mt-md { margin-top: 20px; }
.abma-mt-lg { margin-top: 28px; }
.abma-muted { color: #6b645a; font-size: 14px; line-height: 1.55; }

.abma-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f7f1e1;
    border: 1px solid #e2cfa1;
    color: #8c6a1b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.abma-hero {
    background: linear-gradient(135deg, #171512 0%, #272219 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 48px 36px;
    border: 1px solid rgba(179, 139, 45, 0.35);
    text-align: center;
}
.abma-wrap .abma-hero h1,
.abma-wrap .abma-hero .abma-hero-title {
    color: #ffffff !important;
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    margin: 14px auto 12px;
    max-width: 780px;
    line-height: 1.15;
}
.abma-wrap .abma-hero p,
.abma-wrap .abma-hero .abma-hero-sub {
    color: #e6dfd2 !important;
    max-width: 660px;
    margin: 0 auto 24px;
    font-size: 15px;
    line-height: 1.65;
}
.abma-hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.abma-wrap .abma-btn,
.abma-wrap a.abma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.18s ease;
}
.abma-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.abma-wrap .abma-btn-gold,
.abma-wrap a.abma-btn-gold {
    background: #b38b2d !important;
    color: #ffffff !important;
    border-color: #b38b2d !important;
}
.abma-wrap .abma-btn-gold:hover:not(:disabled),
.abma-wrap a.abma-btn-gold:hover {
    background: #9b7722 !important;
    color: #ffffff !important;
}
.abma-wrap .abma-btn-dark,
.abma-wrap a.abma-btn-dark {
    background: #171512 !important;
    color: #ffffff !important;
}
.abma-wrap .abma-btn-dark:hover:not(:disabled),
.abma-wrap a.abma-btn-dark:hover {
    background: #2d2923 !important;
    color: #ffffff !important;
}
.abma-wrap .abma-btn-outline,
.abma-wrap a.abma-btn-outline {
    background: #ffffff !important;
    color: #171512 !important;
    border-color: #d8d0c1 !important;
}
.abma-wrap .abma-btn-outline:hover,
.abma-wrap a.abma-btn-outline:hover {
    border-color: #b38b2d !important;
    color: #8c6a1b !important;
}
.abma-wrap .abma-hero .abma-btn-outline,
.abma-wrap .abma-hero a.abma-btn-outline {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}
.abma-wrap .abma-hero a.abma-btn-outline:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}
.abma-wrap .abma-kpi-highlight strong,
.abma-wrap .abma-kpi-highlight .abma-kpi-val {
    color: #ffffff !important;
}
.abma-btn-full { width: 100%; }

.abma-card {
    background: #ffffff;
    border: 1px solid #e7e0d3;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(23, 21, 18, 0.03);
}
.abma-card-gold {
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    border-color: #d9be7f;
}
.abma-card-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #8c6a1b;
    margin-bottom: 10px;
}

.abma-step-num {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #f7f1e1;
    color: #8c6a1b;
    font-weight: 800;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.abma-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.abma-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.abma-auth-card { max-width: 520px; margin: 16px auto; padding: 32px; }
.abma-auth-title { font-size: 26px; margin: 10px 0 8px; }
.abma-auth-foot { margin: 18px 0 0; font-size: 14px; text-align: center; color: #6b645a; }
.abma-auth-foot a { color: #8c6a1b; font-weight: 700; text-decoration: underline; }
.abma-link-muted { font-size: 13px; color: #6b645a; text-decoration: underline; }

.abma-form { display: flex; flex-direction: column; gap: 14px; }
.abma-field { display: flex; flex-direction: column; gap: 6px; }
.abma-field label { font-size: 13px; font-weight: 700; color: #2b261f; }
.abma-field input, .abma-field select, .abma-field textarea, .abma-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7cfc0;
    border-radius: 8px;
    font-size: 14px;
    color: #171512;
    background: #ffffff;
}
.abma-field input:focus, .abma-field select:focus, .abma-field textarea:focus, .abma-search-input:focus {
    outline: none;
    border-color: #b38b2d;
    box-shadow: 0 0 0 3px rgba(179, 139, 45, 0.14);
}
.abma-form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.abma-checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #3f3930; cursor: pointer; }
.abma-checkbox input { margin-top: 3px; width: auto; }

.abma-alert { padding: 12px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.abma-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.abma-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }

.abma-dash-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}
.abma-dash-title { font-size: 28px; margin: 8px 0 4px; }
.abma-dash-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.abma-copy-row { display: flex; gap: 8px; }
.abma-copy-row input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #d7cfc0;
    border-radius: 8px;
    background: #faf8f3;
    font-size: 13px;
    color: #171512;
}

.abma-share-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: #6b645a; }
.abma-share-pill {
    background: #f5f2eb;
    border: 1px solid #dfd7c7;
    color: #171512;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.abma-share-pill:hover { border-color: #b38b2d; color: #8c6a1b; }

.abma-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.abma-kpi {
    background: #ffffff;
    border: 1px solid #e7e0d3;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.abma-kpi-highlight {
    background: #171512;
    color: #ffffff;
    border-color: #b38b2d;
}
.abma-kpi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #7a7266; }
.abma-kpi-highlight .abma-kpi-label { color: #d9be7f; }
.abma-kpi-val { font-size: 20px; font-weight: 800; line-height: 1.25; }
.abma-kpi-sub { font-size: 11px; color: #7a7266; }
.abma-kpi-highlight .abma-kpi-sub { color: #cfc7b8; }

.abma-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e7e0d3;
    padding-bottom: 10px;
    flex-wrap: wrap;
}
.abma-tab {
    background: #f7f4ed;
    border: 1px solid #e4dccd;
    color: #4d473e;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.abma-tab.is-active {
    background: #171512;
    color: #ffffff;
    border-color: #171512;
}
.abma-tab-panel { display: none; margin-top: 16px; }
.abma-tab-panel.is-active { display: block; }

.abma-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.abma-search-input { max-width: 300px; }

.abma-prod-list { display: flex; flex-direction: column; gap: 10px; }
.abma-prod-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #ece5d8;
    border-radius: 10px;
    background: #fcfbf8;
    flex-wrap: wrap;
}
.abma-prod-left { display: flex; align-items: center; gap: 12px; min-width: 240px; flex: 1; }
.abma-prod-left img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid #e7e0d3; }
.abma-prod-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.abma-table-wrap { overflow-x: auto; margin-top: 12px; }
.abma-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.abma-table th, .abma-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid #eee7da; white-space: nowrap; }
.abma-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #746c60; background: #fbfaf7; }

.abma-status {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.abma-status-approved, .abma-status-paid { background: #dcfce7; color: #166534; }
.abma-status-pending { background: #fef9c3; color: #854d0e; }
.abma-status-rejected, .abma-status-suspended { background: #fee2e2; color: #991b1b; }

.abma-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #171512;
    color: #ffffff;
    border: 1px solid #b38b2d;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 99999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
    .abma-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .abma-grid-3, .abma-grid-2 { grid-template-columns: 1fr; }
    .abma-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .abma-hero { padding: 32px 20px; }
}

/* SEO Pillar Article Dynamic Cards, Earnings Calculator & FAQ */
.abma-live-val { color: #171512; font-weight: 700; }

.abma-seo-card,
.abma-calc-box {
    background: #ffffff;
    border: 1px solid #d9be7f;
    border-radius: 14px;
    padding: 24px;
    margin: 26px 0;
    box-shadow: 0 4px 16px rgba(23, 21, 18, 0.04);
}
.abma-seo-card-head h3,
.abma-calc-head h3 {
    margin: 10px 0 6px !important;
    font-size: 20px !important;
    color: #171512 !important;
}
.abma-seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 0 !important;
    font-size: 14px;
}
.abma-seo-table th,
.abma-seo-table td {
    padding: 11px 14px !important;
    border-bottom: 1px solid #eee7da !important;
    text-align: left !important;
    vertical-align: top;
    white-space: normal !important;
}
.abma-seo-table th {
    width: 34%;
    color: #5b5449 !important;
    background: #fbfaf7 !important;
    font-weight: 700 !important;
}

.abma-calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    margin-top: 16px;
    align-items: stretch;
}
.abma-calc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.abma-calc-output {
    background: #171512;
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(179, 139, 45, 0.5);
}
.abma-calc-metric span,
.abma-calc-total span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d9be7f;
    font-weight: 700;
}
.abma-calc-metric strong {
    display: block;
    font-size: 18px;
    color: #ffffff !important;
    margin-top: 2px;
}
.abma-calc-total {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 12px;
}
.abma-calc-total strong {
    display: block;
    font-size: 28px;
    color: #ffffff !important;
    line-height: 1.2;
    margin-top: 4px;
}
.abma-calc-total small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #d6cfc3;
}

.abma-seo-cta {
    background: linear-gradient(135deg, #171512 0%, #272219 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 34px 28px;
    margin: 28px 0;
    text-align: center;
    border: 1px solid rgba(179, 139, 45, 0.45);
}
.abm-article-body .abma-seo-cta h3,
.abma-seo-cta h3 {
    color: #ffffff !important;
    margin: 12px 0 8px !important;
    font-size: 24px !important;
}
.abm-article-body .abma-seo-cta p,
.abma-seo-cta p {
    color: #e6dfd2 !important;
    max-width: 640px;
    margin: 0 auto 20px !important;
}
.abm-article-body .abma-seo-cta strong,
.abma-seo-cta strong {
    color: #ffffff !important;
}
.abm-article-body .abma-seo-cta a.abma-btn-gold,
.abma-seo-cta a.abma-btn-gold {
    background: #b38b2d !important;
    color: #ffffff !important;
    padding: 11px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}
.abm-article-body .abma-seo-cta a.abma-btn-outline,
.abma-seo-cta a.abma-btn-outline {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    padding: 11px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.abma-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 28px;
}
.abma-faq-item {
    background: #ffffff;
    border: 1px solid #e7e0d3;
    border-radius: 10px;
    padding: 14px 18px;
}
.abma-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #171512;
    font-size: 15px;
}
.abma-faq-item p {
    margin: 10px 0 0 !important;
    color: #4b453c;
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .abma-calc-grid,
    .abma-calc-inputs {
        grid-template-columns: 1fr;
    }
}
