/**
 * Nyumbani Host Manager — front-end styles.
 *
 * PART 1 is the original stylesheet (domain checker, buttons, cards, forms).
 * PART 2 was extracted from inline <style> blocks in v2.4.0.
 */

/* ===================== PART 1: original front-end styles ===================== */

/**
 * Nyumbani Host Manager - Frontend Styles
 * Plugin Fallbacks: Overridden automatically by compatible themes
 */
:root {
    --nhm-accent: #0073aa; /* Default WP Blue Fallback */
    --nhm-accent-rgb: 0, 115, 170;
    --nhm-card-bg: #ffffff;
    --nhm-card-border: #e2e8f0;
    --nhm-text: #1e293b;
    --nhm-text-muted: #64748b;
    --nhm-success: #22c55e;
    --nhm-danger: #ef4444;
    --nhm-radius: 8px;
    --nhm-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ====================== BASE LAYOUT ====================== */
.nhm-checkout-wrapper,
.nhm-dashboard-container,
.nhm-invoice-container,
.nhm-ticket-thread {
    font-family: var(--nhm-font-family, 'Inter', system-ui, sans-serif);
    color: var(--nhm-text);
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
}

/* Base Buttons */
.nhm-button {
    background: var(--nhm-card-bg);
    color: var(--nhm-text);
    border: 1px solid var(--nhm-card-border);
}

.nhm-button-primary {
    background: var(--nhm-accent);
    color: #fff;
    border-color: var(--nhm-accent);
}

/* ====================== UI CONTAINERS ====================== */
.nhm-ticket-thread,
.nhm-invoice-container,
.nhm-pricing-card {
    background: var(--nhm-card-bg);
    border: 1px solid var(--nhm-card-border);
    border-radius: var(--nhm-radius);
}

.nhm-pricing-card {
    padding: 32px;
    transition: all 0.3s ease;
}

.nhm-pricing-card.popular {
    border-color: var(--nhm-accent);
    transform: scale(1.04);
}

/* --- DOMAIN CHECKER MODERN UI --- */
.nhm-domain-checker-ui {
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--nhm-font);
}

/* The Search Bar */
.nhm-input-group {
    display: flex;
    align-items: center;
    background: var(--nhm-card-bg);
    border: 2px solid var(--nhm-card-border);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    transition: var(--nhm-transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nhm-input-group:focus-within {
    border-color: var(--nhm-accent);
    box-shadow: 0 0 0 4px rgba(var(--nhm-accent-rgb), 0.15);
}

.nhm-search-icon {
    color: var(--nhm-text-muted);
    display: flex;
    align-items: center;
}

#nhm_domain_input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-size: 1.1rem;
    color: var(--nhm-text);
    outline: none;
}

.nhm-btn-search {
    background: var(--nhm-accent);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--nhm-transition);
}

.nhm-btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--nhm-accent-rgb), 0.4);
}

/* Result Cards */
.nhm-results-container {
    margin-top: 25px;
    min-height: 90px;
}

.nhm-result-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--nhm-card-bg);
    border: 1px solid var(--nhm-card-border);
    border-radius: var(--nhm-radius);
    padding: 20px;
    box-shadow: var(--nhm-shadow);
}

.nhm-result-card.available { border-color: var(--nhm-success); background: rgba(34, 197, 94, 0.05); }
.nhm-result-card.taken { opacity: 0.85; }

.nhm-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.nhm-icon-box.success { background: rgba(34, 197, 94, 0.15); color: var(--nhm-success); }
.nhm-icon-box.error { background: rgba(239, 68, 68, 0.15); color: var(--nhm-danger); }

.nhm-result-content { flex: 1; text-align: left; }
.nhm-domain-title { font-size: 1.25rem; font-weight: 700; color: var(--nhm-text); margin: 0 0 4px 0; }
.nhm-domain-meta { font-size: 0.9rem; color: var(--nhm-text-muted); margin: 0; }

/* Result Actions */
.nhm-btn-glow {
    display: inline-block;
    background: var(--nhm-success);
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--nhm-transition);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}
.nhm-btn-glow:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5); }

.nhm-btn-secondary {
    background: transparent;
    color: var(--nhm-text);
    border: 1px solid var(--nhm-card-border);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--nhm-transition);
}
.nhm-btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: var(--nhm-text-muted); }

/* Animations */
.animate-in { animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Spinner */
.nhm-spinner {
    width: 24px; height: 24px;
    border: 3px solid rgba(var(--nhm-accent-rgb), 0.2);
    border-top-color: var(--nhm-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ PART 2: extracted from inline <style> blocks (v2.4.0) ========== */

/* from templates/view-invoice.php */
@keyframes nhm-spin { 100% { transform: rotate(360deg); } }

/* from templates/pricing-table.php */
/* Mobile-first pricing grid (2.0.0 — yearly only, no billing toggle) */
.nhm-pricing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin: 32px 0; align-items: stretch; }
@media (min-width: 700px)  { .nhm-pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (min-width: 1040px) { .nhm-pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; align-items: center; } }
.nhm-pricing-card { display: flex; flex-direction: column; }
.nhm-pricing-card .nhm-btn-select { margin-top: auto; }
/* Don't let the highlighted card overflow on small screens */
@media (max-width: 1039px) { .nhm-pricing-card { transform: none !important; } }
.nhm-annual-note { text-align: center; color: var(--nhm-text-muted); margin: 0 0 34px; font-size: 1.05rem; }

/* from modules/support/class-nhm-tickets.php */
#rafiki-widget { position: fixed; bottom: 30px; right: 30px; z-index: 999999; font-family: var(--nhm-font, sans-serif); }
            #rafiki-toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--nhm-accent, #f97316); color: #fff; border: none; box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; position: relative; z-index: 2; }
            #rafiki-toggle:hover { transform: scale(1.05); }
            
            #rafiki-greeting { 
                position: absolute; 
                bottom: 75px; 
                right: 0; 
                background: var(--nhm-card-bg, #fff); 
                color: var(--nhm-text, #333); 
                padding: 15px 40px 15px 20px; 
                border-radius: 12px; 
                box-shadow: 0 10px 25px rgba(0,0,0,0.15); 
                font-size: 0.95rem; 
                font-weight: 500; 
                border: 1px solid var(--nhm-card-border, #eee); 
                width: max-content; /* Fixes vertical squishing */
                max-width: 320px; 
                line-height: 1.5; 
                visibility: hidden; 
                opacity: 0; 
                pointer-events: none; 
                transform: translateY(10px); 
                transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
                z-index: 1; 
            }
            #rafiki-greeting.show { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
            #rafiki-greeting::after { content: ''; position: absolute; bottom: -6px; right: 24px; width: 12px; height: 12px; background: var(--nhm-card-bg, #fff); transform: rotate(45deg); border-bottom: 1px solid var(--nhm-card-border, #eee); border-right: 1px solid var(--nhm-card-border, #eee); }
            
            /* Text container constraint */
            .nhm-greeting-text {
                display: -webkit-box;
                -webkit-line-clamp: 2; /* Forces text to a max of 2 lines */
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: normal;
            }
            .nhm-greeting-text p { margin: 0; display: inline; } /* Merges multiple paragraphs safely */

            #rafiki-greeting-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--nhm-text-muted, #999); display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; transition: background 0.2s; }
            #rafiki-greeting-close:hover { background: rgba(0,0,0,0.05); color: var(--nhm-text, #333); }
            
            #rafiki-chat { position: absolute; bottom: 80px; right: 0; width: 350px; height: 500px; background: var(--nhm-card-bg, #fff); border: 1px solid var(--nhm-card-border, #eee); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); display: flex; flex-direction: column; overflow: hidden; backdrop-filter: blur(20px); z-index: 3; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(20px); transition: all 0.3s ease; }
            #rafiki-chat.visible { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }

            #rafiki-header { background: var(--nhm-accent, #f97316); color: #fff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
            #rafiki-close { background: transparent; border: none; color: #fff; cursor: pointer; font-size: 24px; line-height: 1; }

            #rafiki-body { flex: 1; padding: 20px; overflow-y: auto; background: rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 15px; }

            .rafiki-msg { max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; line-height: 1.5; word-wrap: break-word; }
            .rafiki-msg.bot { background: var(--nhm-card-bg, #fff); border: 1px solid var(--nhm-card-border, #eee); align-self: flex-start; border-bottom-left-radius: 2px; color: var(--nhm-text, #333); }
            .rafiki-msg.user { background: var(--nhm-accent, #f97316); color: #fff; align-self: flex-end; border-bottom-right-radius: 2px; }
            
            .rafiki-btn { display: block; width: 100%; text-align: left; padding: 10px 15px; margin-top: 8px; background: rgba(0,0,0,0.04); border: 1px solid var(--nhm-card-border, #eee); border-radius: 8px; cursor: pointer; font-family: inherit; color: var(--nhm-text, #333); transition: all 0.2s; font-size: 0.9rem; font-weight: 500; }
            .rafiki-btn:hover { background: var(--nhm-accent, #f97316); color: #fff; border-color: var(--nhm-accent, #f97316); }

            .rafiki-ticket-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
            .rafiki-ticket-form input, .rafiki-ticket-form textarea { width: 100%; padding: 10px; border: 1px solid var(--nhm-card-border, #ddd); border-radius: 6px; font-family: inherit; background: transparent; color: var(--nhm-text, #333); }
            .rafiki-submit-btn { background: var(--nhm-accent, #f97316); color: #fff; border: none; padding: 10px; border-radius: 6px; font-weight: bold; cursor: pointer; }

            /* --- Composer (free-text asking) --- */
            #rafiki-composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--nhm-card-border, #eee); background: var(--nhm-card-bg, #fff); align-items: flex-end; }
            #rafiki-input { flex: 1; resize: none; max-height: 90px; min-height: 40px; padding: 10px 12px; border: 1px solid var(--nhm-card-border, #ddd); border-radius: 20px; font-family: inherit; font-size: 0.92rem; line-height: 1.4; background: rgba(0,0,0,0.03); color: var(--nhm-text, #333); outline: none; }
            #rafiki-input:focus { border-color: var(--nhm-accent, #f97316); }
            #rafiki-send { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--nhm-accent, #f97316); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity .2s; }
            #rafiki-send:disabled { opacity: .45; cursor: not-allowed; }

            /* --- Typing indicator --- */
            .rafiki-typing { display: flex; gap: 4px; align-items: center; padding: 14px 16px !important; }
            .rafiki-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--nhm-text-muted, #94a3b8); animation: rafikiBounce 1.2s infinite ease-in-out; }
            .rafiki-typing span:nth-child(2) { animation-delay: .15s; }
            .rafiki-typing span:nth-child(3) { animation-delay: .3s; }
            @keyframes rafikiBounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

            /* --- Quick action chips --- */
            .rafiki-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
            .rafiki-chip { padding: 6px 12px; border-radius: 20px; border: 1px solid var(--nhm-card-border, #eee); background: rgba(0,0,0,0.04); color: var(--nhm-text, #333); font-size: 0.82rem; cursor: pointer; font-family: inherit; transition: all .2s; }
            .rafiki-chip:hover { background: var(--nhm-accent, #f97316); color: #fff; border-color: var(--nhm-accent, #f97316); }
            .rafiki-confidence { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--nhm-text-muted, #94a3b8); }

            @media (max-width: 480px) { #rafiki-chat { width: calc(100vw - 40px); right: -10px; } }

/* from includes/class-nhm-sales.php */
#nhm-frontend-quote-form select option, 
            #nhm-frontend-quote-form select optgroup { background-color: #0f172a; color: #ffffff; font-weight: 500; }

/* from includes/class-nhm-faq.php */
.nhm-faq-container { max-width: 800px; margin: 0 auto; font-family: inherit; }
            .nhm-faq-item {
                background: var(--nhm-card-bg, rgba(255, 255, 255, 0.02));
                border: 1px solid var(--nhm-card-border, rgba(255, 255, 255, 0.08));
                border-radius: 12px; margin-bottom: 15px; overflow: hidden;
                backdrop-filter: blur(10px); transition: all 0.3s ease;
            }
            .nhm-faq-item:hover { border-color: var(--nhm-accent); background: rgba(255, 255, 255, 0.04); }
            .nhm-faq-question {
                width: 100%; text-align: left; padding: 24px; background: transparent; border: none;
                font-size: 1.15rem; font-weight: 600; color: var(--nhm-text); cursor: pointer;
                display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease;
            }
            .nhm-faq-item.active .nhm-faq-question { color: var(--nhm-accent); }
            .nhm-faq-icon {
                display: flex; align-items: center; justify-content: center; width: 24px; height: 24px;
                transition: transform 0.3s ease; color: var(--nhm-text-muted);
            }
            .nhm-faq-item.active .nhm-faq-icon { transform: rotate(180deg); color: var(--nhm-accent); }
            .nhm-faq-answer-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
            .nhm-faq-item.active .nhm-faq-answer-wrapper { grid-template-rows: 1fr; }
            .nhm-faq-answer-inner { overflow: hidden; }
            .nhm-faq-answer-content { padding: 0 24px 24px 24px; color: var(--nhm-text-muted); line-height: 1.7; font-size: 1rem; }
            .nhm-faq-answer-content a { color: var(--nhm-accent); text-decoration: none; }
            .nhm-faq-answer-content a:hover { text-decoration: underline; }

/* ============ Domain result actions (v2.0.0 markup, styles added v2.4.1) ======== */
/*
 * The v2.0.0 search redesign introduced a price line, a "transfer to us" button
 * and a right-hand action column, but shipped no rules for them — which is why
 * results rendered unstyled. These complete that markup.
 */

.nhm-result-card { flex-wrap: wrap; }

/* Right-hand column holding the price and the call to action. */
.nhm-result-action {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nhm-domain-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--nhm-text);
    white-space: nowrap;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.nhm-domain-price small,
.nhm-domain-price .per {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--nhm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* A taken domain is still a sale — transfer is the primary action there. */
.nhm-btn-transfer {
    display: inline-block;
    background: transparent;
    color: var(--nhm-accent);
    border: 1px solid var(--nhm-accent);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nhm-btn-transfer:hover,
.nhm-btn-transfer:focus-visible {
    background: var(--nhm-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* The taken card shouldn't read as an error — it's an opportunity. */
.nhm-result-card.taken { opacity: 1; border-color: var(--nhm-card-border); }
.nhm-result-card.taken .nhm-domain-title { color: var(--nhm-text-muted); }
.nhm-result-card.taken .nhm-icon-box { background: rgba(148, 163, 184, 0.15); color: var(--nhm-text-muted); }

/* Keep the search field and results usable on a phone. */
@media (max-width: 640px) {
    .nhm-result-card { gap: 14px; }
    .nhm-result-content { flex: 1 1 100%; min-width: 0; }
    .nhm-result-action { margin-left: 0; width: 100%; justify-content: space-between; }
    .nhm-domain-title { font-size: 1.05rem; word-break: break-all; }
    .nhm-btn-glow, .nhm-btn-transfer, .nhm-btn-secondary { flex: 1 1 auto; text-align: center; }
}

/* ================== Top utility bar (v2.6.0) ================== */
/*
 * Phone, e-mail and language, above the site header. Mobile first: icons only
 * on a phone (still 44px tap targets), full text from 640px up.
 */
.nhm-topbar {
    background: rgba(0, 0, 0, .22);
    border-bottom: 1px solid var(--nhm-card-border, rgba(255,255,255,.10));
    font-size: .85rem;
    /*
     * Deliberately NO position/z-index. The companion theme's .site-header is
     * sticky at z-index 1000; giving this bar its own stacking context would
     * trap the language dropdown inside it and the menu would open BEHIND the
     * header. Left alone, the dropdown's z-index competes at the root and wins,
     * while the sticky header still slides over the bar on scroll.
     */
}
.nhm-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.nhm-topbar-contact { display: flex; align-items: center; gap: 4px; min-width: 0; }

.nhm-topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    color: var(--nhm-text-muted, #94a3b8);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: color .18s ease, background .18s ease;
}
.nhm-topbar-link:hover,
.nhm-topbar-link:focus-visible { color: var(--nhm-accent, #f97316); background: rgba(127,127,127,.12); }
.nhm-topbar-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.nhm-topbar-link .txt { display: none; }          /* phone: icon only */

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The switcher is compact enough to sit in a 44px bar. */
.nhm-topbar .nhm-lang-trigger { padding: 6px 10px; font-size: .82rem; border-radius: 8px; }

@media (min-width: 640px) {
    .nhm-topbar-inner { padding: 0 22px; }
    .nhm-topbar-link .txt { display: inline; }     /* room for the real text */
    .nhm-topbar-contact { gap: 18px; }
}

/* ============ Hero domain checker — rebuilt mobile first (v2.6.0) ============ */
/*
 * The pill layout squeezed the input to a few characters on a phone. Below
 * 640px the field and the button now stack full width; the pill returns on
 * anything wider.
 */
.nhm-domain-checker-ui { width: 100%; padding: 0 4px; box-sizing: border-box; }

.nhm-input-group {
    display: flex;
    flex-direction: column;      /* mobile: stacked */
    align-items: stretch;
    gap: 10px;
    border-radius: 16px;
    padding: 12px;
}

/* The magnifier is decoration; on a phone the space is better spent on the field. */
.nhm-input-group .nhm-search-icon { display: none; }

#nhm_domain_input {
    width: 100%;
    min-height: 48px;            /* comfortable tap target */
    padding: 12px 14px;
    font-size: 16px;             /* 16px stops iOS zooming on focus */
    border-radius: 10px;
    box-sizing: border-box;
}

.nhm-btn-search {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .nhm-input-group {
        flex-direction: row;     /* back to the pill */
        align-items: center;
        gap: 0;
        border-radius: 50px;
        padding: 6px 6px 6px 20px;
    }
    .nhm-input-group .nhm-search-icon { display: flex; }
    #nhm_domain_input { width: auto; flex: 1; min-width: 0; border-radius: 0; font-size: 1.05rem; }
    .nhm-btn-search { width: auto; border-radius: 40px; padding: 12px 30px; }
}

/* Results: readable on a narrow screen without horizontal scrolling. */
@media (max-width: 639px) {
    .nhm-results-container { margin-top: 18px; }
    .nhm-result-card { padding: 14px; gap: 12px; align-items: flex-start; }
    .nhm-icon-box { width: 38px; height: 38px; flex-shrink: 0; }
    .nhm-domain-title { font-size: 1rem; word-break: break-all; }
    .nhm-domain-meta { font-size: .84rem; }
}

/* ================== Terms acceptance at checkout (v2.6.0) ================== */
.nhm-terms-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    margin: 6px 0 14px;
    background: var(--nhm-card-bg, rgba(255,255,255,.04));
    border: 1px solid var(--nhm-card-border, rgba(255,255,255,.12));
    border-radius: 10px;
    transition: border-color .18s ease, background .18s ease;
}
.nhm-terms-row.is-invalid { border-color: var(--nhm-danger, #ef4444); background: rgba(239,68,68,.07); }

/* A 20px box is a fiddly target on a phone. */
.nhm-terms-row input[type="checkbox"] {
    width: 22px; height: 22px;
    margin: 1px 0 0;
    flex-shrink: 0;
    accent-color: var(--nhm-accent, #f97316);
    cursor: pointer;
}
.nhm-terms-row label {
    font-size: .92rem;
    line-height: 1.5;
    color: var(--nhm-text-muted, #94a3b8);
    cursor: pointer;
}
.nhm-terms-row a { color: var(--nhm-accent, #f97316); text-decoration: underline; }
.nhm-terms-row a:hover { text-decoration: none; }

.nhm-terms-error {
    margin: -8px 0 12px;
    color: var(--nhm-danger, #ef4444);
    font-size: .88rem;
    font-weight: 600;
}
