.nfcm-wrap {
    max-width: 1100px;
    margin: 48px auto;
    padding: 0 20px;
}

.nfcm-wrap--narrow {
    max-width: 720px;
}

.nfcm-header {
    margin-bottom: 24px;
}

.nfcm-header--center {
    text-align: center;
}

.nfcm-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nfcm-title {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.nfcm-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

.nfcm-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
    overflow: hidden;
}

.nfcm-card--dashboard-profile {
    overflow: visible;
}

.nfcm-dashboard-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 360px;
    gap: 28px;
    align-items: start;
}

.nfcm-dashboard-edit-main {
    min-width: 0;
}

.nfcm-form-with-fixed-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 360px;
    gap: 28px;
    align-items: start;
    padding-bottom: 24px;
}

.nfcm-dashboard-edit-layout {
    grid-column: 1 / -1;
}

.nfcm-table-wrap {
    overflow-x: auto;
}

.nfcm-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.nfcm-table th {
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.nfcm-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #111827;
}

.nfcm-table tr:last-child td {
    border-bottom: 0;
}

.nfcm-card-name {
    font-weight: 700;
    color: #111827;
}

.nfcm-card-code {
    font-family: monospace;
    font-size: 14px;
    color: #374151;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
}

.nfcm-card-code--inline {
    margin-top: 10px;
}

.nfcm-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.nfcm-badge--activated {
    background: #dcfce7;
    color: #166534;
}

.nfcm-badge--not-activated {
    background: #fef3c7;
    color: #92400e;
}

.nfcm-badge--disabled {
    background: #fee2e2;
    color: #991b1b;
}

.nfcm-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nfcm-actions--center {
    justify-content: center;
}

.nfcm-actions--dashboard-edit .nfcm-btn {
    flex: 0 0 auto;
}

.nfcm-edit-nav {
    margin: 14px 0 18px;
}

.nfcm-actions--dashboard-nav {
    justify-content: space-between;
    align-items: center;
}

.nfcm-actions--dashboard-nav .nfcm-btn {
    flex: 0 1 auto;
    white-space: nowrap;
}

#nfcm-cover-trigger + .nfcm-cover-controls .nfcm-avatar-help,
#nfcm-avatar-trigger + .nfcm-avatar-controls .nfcm-avatar-help,
.nfcm-form-grid > div > .nfcm-field-help {
    display: none;
}

.nfcm-btn--view-desktop {
    display: none;
}

.nfcm-toast-wrap {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    display: flex;
    justify-content: center;
    pointer-events: none;
    width: min(calc(100% - 24px), 720px);
    margin: 0;
}

.nfcm-toast {
    max-width: min(100%, 720px);
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #b7dfb7;
    background: #e8f7e8;
    color: #166534;
    font-weight: 600;
    box-shadow: 0 14px 28px rgba(22, 101, 52, 0.12);
    pointer-events: auto;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.nfcm-toast--error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    box-shadow: 0 14px 28px rgba(185, 28, 28, 0.12);
}

.nfcm-toast.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
}

body.nfcm-modal-open {
    overflow: hidden;
}

.nfcm-modal[hidden] {
    display: none;
}

.nfcm-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 20px;
}

.nfcm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(4px);
}

.nfcm-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.nfcm-modal__title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.15;
    color: #111827;
}

.nfcm-modal__text {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.nfcm-modal__actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.nfcm-form-actions-sticky {
    display: none;
    position: sticky;
    bottom: 12px;
    z-index: 20;
    flex-direction: column;
    gap: 12px;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 28px;
    padding: 14px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.98));
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
}

.nfcm-form-actions-sticky.is-visible {
    display: flex;
}

.nfcm-form-actions-sticky--desktop {
    display: none;
}

.nfcm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nfcm-btn i {
    margin-right: 8px;
}

.nfcm-btn__premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #78350f;
    font-size: 9px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(120, 53, 15, 0.12);
    flex: 0 0 18px;
}

.nfcm-btn__premium-badge i {
    margin-right: 0;
    font-size: 9px;
    line-height: 1;
}

.nfcm-btn--primary {
    background: #111827;
    color: #ffffff;
}

.nfcm-btn--primary:hover {
    background: #000000;
    color: #ffffff;
}

.nfcm-btn--save {
    background: linear-gradient(135deg, #0f172a, #1e293b 52%, #334155);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    min-height: 56px;
    transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.nfcm-btn--save:hover,
.nfcm-btn--save:focus {
    background: linear-gradient(135deg, #020617, #0f172a 52%, #1e293b);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.24);
}

.nfcm-btn--save.is-saving,
.nfcm-btn--save.is-saving:hover,
.nfcm-btn--save.is-saving:focus {
    cursor: wait;
    opacity: 0.92;
    transform: none;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
}

.nfcm-btn--save.is-saving i {
    animation: nfcm-spin 0.85s linear infinite;
}

.nfcm-btn--save.is-saved,
.nfcm-btn--save.is-saved:hover,
.nfcm-btn--save.is-saved:focus {
    background: linear-gradient(135deg, #166534, #15803d 52%, #22c55e);
    color: #ffffff;
    transform: none;
    box-shadow: 0 14px 26px rgba(34, 197, 94, 0.22);
}

.nfcm-btn--save.is-saved.is-hiding,
.nfcm-btn--save.is-saved.is-hiding:hover,
.nfcm-btn--save.is-saved.is-hiding:focus {
    opacity: 0;
    transform: translateY(-2px);
}

@keyframes nfcm-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nfcm-btn--secondary {
    background: #f3f4f6;
    color: #111827;
}

.nfcm-btn--secondary:hover {
    background: #e5e7eb;
    color: #111827;
}

.nfcm-btn--danger {
    background: #fee2e2;
    color: #b91c1c;
}

.nfcm-btn--danger:hover,
.nfcm-btn--danger:focus {
    background: #fecaca;
    color: #991b1b;
}

.nfcm-btn--premium {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #78350f;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.22);
}

.nfcm-btn--premium:hover,
.nfcm-btn--premium:focus {
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    color: #78350f;
}

.nfcm-btn--locked,
.nfcm-btn--locked:hover,
.nfcm-btn--locked:focus {
    background: #f3f4f6;
    color: #64748b;
    opacity: 0.82;
    cursor: not-allowed;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}

.nfcm-btn--compact {
    padding: 8px 12px;
    font-size: 13px;
}

.nfcm-dashboard-premium-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff8db, #fffbeb);
    border: 1px solid #f6d365;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.08);
}

.nfcm-dashboard-premium-banner--active {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border-color: #86efac;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.08);
}

.nfcm-dashboard-premium-banner--active .nfcm-dashboard-premium-banner__title {
    margin-bottom: 0;
    font-size: 18px;
}

.nfcm-dashboard-premium-banner--active .nfcm-dashboard-premium-banner__eyebrow {
    margin-bottom: 0;
}

.nfcm-dashboard-premium-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #92400e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nfcm-dashboard-premium-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #78350f;
    box-shadow: inset 0 0 0 1px rgba(120, 53, 15, 0.12);
}

.nfcm-dashboard-premium-banner__title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
    color: #111827;
}

.nfcm-dashboard-premium-banner__text {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.nfcm-dashboard-premium-banner__perks {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.nfcm-dashboard-premium-banner__perks span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #f6e6a8;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
}

.nfcm-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.nfcm-dashboard-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.nfcm-dashboard-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.nfcm-dashboard-card__identity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.nfcm-dashboard-card__avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    object-fit: cover;
    flex: 0 0 58px;
    background: linear-gradient(180deg, #1e293b, #111827);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.nfcm-dashboard-card__avatar--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.nfcm-dashboard-card__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    padding-top: 2px;
}

.nfcm-dashboard-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.nfcm-dashboard-card .nfcm-card-code {
    align-self: flex-start;
    margin-top: 0;
    padding: 6px 10px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #475569;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.nfcm-dashboard-card__status {
    margin-top: 2px;
    margin-left: 0;
}

.nfcm-dashboard-card__status .nfcm-badge {
    display: inline-flex;
    width: auto;
    max-width: max-content;
    padding: 7px 12px;
}

.nfcm-dashboard-card__views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #475569;
}

.nfcm-dashboard-card__views i {
    font-size: 13px;
    color: #64748b;
}

.nfcm-dashboard-card__views-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.nfcm-dashboard-card__views strong {
    font-size: 14px;
    line-height: 1;
    color: #111827;
}

.nfcm-dashboard-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.nfcm-dashboard-card__actions .nfcm-btn {
    min-height: 44px;
}

.nfcm-dashboard-card__premium {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.nfcm-dashboard-card__premium-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 2px;
}

.nfcm-dashboard-card__premium-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.nfcm-dashboard-card__premium-title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e5e7eb;
}

.nfcm-dashboard-card__premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #78350f;
    box-shadow: inset 0 0 0 1px rgba(120, 53, 15, 0.12);
    flex: 0 0 20px;
}

.nfcm-dashboard-card__premium-badge i {
    margin-right: 0;
    font-size: 10px;
    line-height: 1;
}

.nfcm-dashboard-card__premium-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.nfcm-dashboard-card__premium-actions .nfcm-btn {
    min-height: 44px;
}

.nfcm-qr-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.nfcm-form-grid--qr {
    gap: 18px;
}

.nfcm-qr-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.nfcm-qr-style-button {
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #fff;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nfcm-qr-style-button:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.nfcm-qr-style-button.is-active {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.nfcm-qr-style-button__swatch {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfcm-qr-style-button__swatch-inner {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #1f2a44;
    position: relative;
}

.nfcm-qr-style-button__swatch-inner::before,
.nfcm-qr-style-button__swatch-inner::after {
    content: '';
    position: absolute;
    inset: 0;
}

.nfcm-qr-style-button__swatch-inner--inner-square {
    background-image:
        radial-gradient(circle at 18% 18%, transparent 0 4px, #fff 4px 7px, transparent 7px 100%),
        radial-gradient(circle at 82% 18%, transparent 0 4px, #fff 4px 7px, transparent 7px 100%),
        radial-gradient(circle at 18% 82%, transparent 0 4px, #fff 4px 7px, transparent 7px 100%),
        linear-gradient(#1f2a44, #1f2a44);
}

.nfcm-qr-style-button__swatch-inner--inner-dots {
    background:
        radial-gradient(circle, #1f2a44 22%, transparent 24%) 0 0/8px 8px;
    border-radius: 10px;
}

.nfcm-qr-style-button__swatch-inner--inner-rounded {
    background:
        radial-gradient(circle at 50% 50%, #1f2a44 58%, transparent 60%) 0 0/10px 10px;
    border-radius: 12px;
}

.nfcm-qr-style-button__swatch-inner--inner-extra_rounded {
    background:
        radial-gradient(circle at 50% 50%, #1f2a44 64%, transparent 66%) 0 0/11px 11px;
    border-radius: 16px;
}

.nfcm-qr-style-button__swatch-inner--inner-classy {
    background:
        radial-gradient(circle at 28% 28%, #1f2a44 30%, transparent 32%) 0 0/12px 12px,
        linear-gradient(135deg, transparent 0 34%, #1f2a44 34% 66%, transparent 66%);
    border-radius: 10px;
}

.nfcm-qr-style-button__swatch-inner--inner-classy_rounded {
    background:
        radial-gradient(circle at 28% 28%, #1f2a44 32%, transparent 34%) 0 0/12px 12px,
        radial-gradient(circle at 70% 70%, #1f2a44 26%, transparent 28%) 0 0/12px 12px;
    border-radius: 14px;
}

.nfcm-qr-style-button__swatch-inner--corner-square {
    border: 4px solid #1f2a44;
    background: transparent;
}

.nfcm-qr-style-button__swatch-inner--corner-dot {
    border: 4px solid #1f2a44;
    background: transparent;
    border-radius: 999px;
}

.nfcm-qr-style-button__swatch-inner--corner-rounded {
    border: 4px solid #1f2a44;
    background: transparent;
    border-radius: 10px;
}

.nfcm-qr-style-button__swatch-inner--corner-extra_rounded {
    border: 4px solid #1f2a44;
    background: transparent;
    border-radius: 14px;
}

.nfcm-qr-style-button__swatch-inner--corner-classy {
    border: 4px solid #1f2a44;
    background: transparent;
    border-top-left-radius: 14px;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

.nfcm-qr-style-button__swatch-inner--corner-classy_rounded {
    border: 4px solid #1f2a44;
    background: transparent;
    border-top-left-radius: 14px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 14px;
}

.nfcm-qr-style-button__label {
    font-size: 11px;
    line-height: 1.3;
    color: #0f172a;
    text-align: center;
}

.nfcm-qr-color-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nfcm-qr-panel,
.nfcm-qr-preview-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px;
}

.nfcm-qr-panel__head {
    margin-bottom: 20px;
}

.nfcm-qr-actions,
.nfcm-qr-preview-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.nfcm-qr-preview-card {
    position: sticky;
    top: 24px;
}

.nfcm-qr-preview-card--mobile {
    display: none;
    margin-bottom: 22px;
}

.nfcm-qr-preview-card--desktop {
    display: block;
}

.nfcm-qr-preview-card__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
}

.nfcm-qr-preview-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    min-height: 320px;
}

.nfcm-qr-preview-host {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nfcm-qr-preview-host canvas,
.nfcm-qr-preview-host img,
.nfcm-qr-preview-host svg {
    width: 240px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.nfcm-qr-preview-image {
    width: 240px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.nfcm-qr-preview-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.nfcm-qr-preview-meta__label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.nfcm-qr-preview-meta__value {
    font-size: 14px;
    line-height: 1.5;
    color: #111827;
    word-break: break-word;
}

@media (max-width: 980px) {
    .nfcm-qr-layout {
        grid-template-columns: 1fr;
    }

    .nfcm-qr-preview-card--desktop {
        display: none;
    }

    .nfcm-qr-preview-card--mobile {
        display: block;
        position: static;
    }

    .nfcm-qr-preview-card {
        position: static;
    }

    .nfcm-qr-color-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.nfcm-field-help {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.nfcm-input-error {
    margin: 6px 0 0;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
}

.nfcm-cover-controls .nfcm-avatar-help,
.nfcm-avatar-controls .nfcm-avatar-help {
    display: none;
}

.nfcm-form-group-heading {
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid #eef2f7;
}

.nfcm-form-group-heading__title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    line-height: 1.2;
    color: #111827;
    font-weight: 800;
}

.nfcm-form-group-heading__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a, #334155);
    color: #ffffff;
    font-size: 11px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
    flex: 0 0 auto;
}

.nfcm-form-group-heading__icon-button {
    border: 0;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.nfcm-form-group-heading__icon-button:hover,
.nfcm-form-group-heading__icon-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
    opacity: 0.95;
}

.nfcm-form-group-heading__copy {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    display: none;
}

.nfcm-premium-lock {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #f6df8d;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 248, 219, 0.92), rgba(255, 251, 235, 0.98));
}

.nfcm-premium-lock__head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #92400e;
}

.nfcm-premium-lock__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #78350f;
    box-shadow: inset 0 0 0 1px rgba(120, 53, 15, 0.12);
}

.nfcm-premium-lock__badge i {
    margin-right: 0;
    font-size: 10px;
    line-height: 1;
}

.nfcm-premium-lock__copy {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.nfcm-premium-lock__preview {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    background: rgba(255, 255, 255, 0.72);
}

.nfcm-premium-lock__preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.16));
    backdrop-filter: blur(1.5px);
    pointer-events: none;
}

.nfcm-premium-lock__preview--cover {
    height: 108px;
}

.nfcm-premium-lock__cover-art {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fb7185, #f59e0b 46%, #38bdf8);
}

.nfcm-premium-lock__cover-avatar {
    position: absolute;
    left: 18px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: #111827;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.nfcm-premium-lock__preview--links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px;
}

.nfcm-premium-lock__link-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.nfcm-premium-lock__preview--themes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px;
}

.nfcm-premium-lock__preview--templates {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px;
}

.nfcm-premium-lock__theme-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.nfcm-premium-lock__theme-dot--default {
    background: linear-gradient(135deg, #111827, #1f2937);
}

.nfcm-premium-lock__theme-dot--sunset {
    background: linear-gradient(135deg, #7c2d12, #ea580c 52%, #f59e0b);
}

.nfcm-premium-lock__theme-dot--ocean {
    background: linear-gradient(135deg, #0f172a, #0369a1 48%, #22d3ee);
}

.nfcm-premium-lock__theme-dot--forest {
    background: linear-gradient(135deg, #052e16, #166534 55%, #84cc16);
}

.nfcm-premium-lock__theme-dot--midnight {
    background: linear-gradient(135deg, #020617, #312e81 52%, #7c3aed);
}

.nfcm-premium-lock__theme-dot--rose {
    background: linear-gradient(135deg, #4c0519, #be185d 52%, #f9a8d4);
}

.nfcm-premium-lock__theme-dot--amber {
    background: linear-gradient(135deg, #78350f, #d97706 52%, #fde68a);
}

.nfcm-premium-lock__theme-dot--aurora {
    background: linear-gradient(135deg, #064e3b, #0f766e 52%, #99f6e4);
}

.nfcm-premium-lock__theme-dot--espresso {
    background: linear-gradient(135deg, #2b1d17, #6f4e37 52%, #d6bfa7);
}

.nfcm-premium-lock__theme-dot--arctic {
    background: linear-gradient(135deg, #0f172a, #475569 52%, #e0f2fe);
}

.nfcm-premium-lock__theme-dot--studio {
    background: linear-gradient(135deg, #0f172a, #1d4ed8 52%, #93c5fd);
}

.nfcm-premium-lock__theme-dot--executive {
    background: linear-gradient(135deg, #111827, #475569 52%, #e2e8f0);
}

.nfcm-premium-lock__theme-dot--spotlight {
    background: linear-gradient(135deg, #4c1d95, #db2777 52%, #f9a8d4);
}

.nfcm-link-list {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.nfcm-link-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 200px) minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: start;
}

.nfcm-link-row .nfcm-remove-link-row {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    align-self: start;
    justify-self: end;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: none;
}

.nfcm-link-row .nfcm-icon-select {
    order: -1;
}

.nfcm-link-row .nfcm-icon-select__trigger {
    height: 46px;
    padding: 11px 10px;
    justify-content: space-between;
    gap: 8px;
}

.nfcm-link-row .nfcm-icon-select__trigger-main {
    justify-content: center;
    flex: 1 1 auto;
}

.nfcm-link-row .nfcm-icon-select__trigger-main span,
.nfcm-link-row .nfcm-icon-select__option span {
    display: none;
}

.nfcm-link-row .nfcm-icon-select__chevron {
    display: inline-block;
    font-size: 10px;
    color: #94a3b8;
    flex: 0 0 auto;
}

.nfcm-link-row .nfcm-icon-select__option {
    justify-content: center;
    padding: 10px;
}

.nfcm-link-row .nfcm-icon-select__menu {
    left: 0;
    right: auto;
    min-width: 56px;
}

.nfcm-link-row .nfcm-input-error {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
}

.nfcm-link-row .nfcm-input-error[data-for="custom_link_label[]"] {
    grid-column: 2 / 3;
}

.nfcm-link-row .nfcm-input-error[data-for="custom_link_url[]"] {
    grid-column: 3 / 4;
}

.nfcm-link-row .nfcm-remove-link-row i {
    margin: 0;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 900px) {
    .nfcm-link-row {
        grid-template-columns: 56px minmax(0, 1fr) 44px;
        gap: 8px;
        align-items: start;
    }

    .nfcm-link-row .nfcm-icon-select {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        order: 0;
    }

    .nfcm-link-row input[name="custom_link_label[]"] {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .nfcm-link-row .nfcm-remove-link-row {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
        width: 44px;
        min-width: 44px;
        justify-self: end;
    }

    .nfcm-link-row input[name="custom_link_url[]"] {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
    }

    .nfcm-link-row .nfcm-input-error[data-for="custom_link_label[]"] {
        grid-column: 2 / 4;
        grid-row: 3 / 4;
    }

    .nfcm-link-row .nfcm-input-error[data-for="custom_link_url[]"] {
        grid-column: 1 / -1;
        grid-row: 4 / 5;
    }
}

.nfcm-icon-select {
    position: relative;
    min-width: 0;
}

.nfcm-icon-select__trigger {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}

.nfcm-icon-select__trigger-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.nfcm-icon-select__trigger-main span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nfcm-icon-select__chevron {
    color: #64748b;
    font-size: 12px;
}

.nfcm-icon-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.nfcm-icon-select.is-open .nfcm-icon-select__menu {
    display: grid;
    gap: 6px;
}

.nfcm-icon-select__option {
    width: 100%;
    border: 0;
    background: #fff;
    color: #111827;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
}

.nfcm-icon-select__option:hover,
.nfcm-icon-select__option.is-selected {
    background: #f8fafc;
}

.nfcm-public-custom-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

.nfcm-public-btn--custom {
    flex: 1 1 130px;
}

.nfcm-empty {
    padding: 28px;
    text-align: center;
    color: #6b7280;
}

.nfcm-state-card {
    padding: 36px 28px;
    text-align: center;
}

.nfcm-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 30px;
    font-weight: 700;
}

.nfcm-state-icon--pending {
    background: #fef3c7;
    color: #92400e;
}

.nfcm-state-icon--danger {
    background: #fee2e2;
    color: #991b1b;
}

.nfcm-state-icon--neutral {
    background: #e5e7eb;
    color: #374151;
}

.nfcm-state-copy {
    max-width: 460px;
    margin: 18px auto 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.nfcm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.nfcm-topbar--edit {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    align-items: stretch;
}

.nfcm-topbar--edit .nfcm-subtitle {
    display: none;
}

.nfcm-topbar--edit .nfcm-header,
.nfcm-topbar--edit .nfcm-stat {
    width: 100%;
    max-width: none;
}

.nfcm-stat {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    border-radius: 18px;
    padding: 16px 18px;
    min-width: 220px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.18);
}

.nfcm-stat--card-header {
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
    border-radius: 18px;
}

.nfcm-stat-label {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.nfcm-stat__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.nfcm-stat__code-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
}

.nfcm-stat__code-label {
    opacity: 0.8;
}

.nfcm-stat__code {
    font-family: monospace;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.nfcm-stat__edit-label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.nfcm-stat__edit-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.nfcm-stat__name-input {
    width: auto;
    min-width: 220px;
    max-width: 320px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 9px 12px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nfcm-stat__name-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.nfcm-stat__name-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.nfcm-stat__help {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.4;
}

.nfcm-stat-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.nfcm-card input[type="text"],
.nfcm-card input[type="email"],
.nfcm-card input[type="url"],
.nfcm-card select,
.nfcm-card textarea {
    width: 100%;
    max-width: 600px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 15px;
    box-sizing: border-box;
}

.nfcm-card input:focus,
.nfcm-card select:focus,
.nfcm-card textarea:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.nfcm-card input.is-invalid,
.nfcm-card select.is-invalid,
.nfcm-card textarea.is-invalid {
    border-color: #dc2626;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.nfcm-card input.is-invalid:focus,
.nfcm-card select.is-invalid:focus,
.nfcm-card textarea.is-invalid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16);
}

.nfcm-card label {
    display: inline-block;
    margin-bottom: 8px;
    color: #111827;
}

.nfcm-label-with-icon {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.nfcm-label-with-icon--stacked {
    display: flex !important;
    width: 100%;
}

.nfcm-label-with-icon i {
    width: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.nfcm-public {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #111827, #1f2937);
    transition: background 0.3s ease;
    position: relative;
}

.nfcm-public-card {
    --nfcm-card-bg: #ffffff;
    --nfcm-card-fg: #111827;
    --nfcm-card-muted: #6b7280;
    --nfcm-card-soft: #f3f4f6;
    --nfcm-card-accent: #111827;
    --nfcm-card-border: rgba(229, 231, 235, 0.85);
    width: 100%;
    max-width: 420px;
    background: var(--nfcm-card-bg);
    border-radius: 22px;
    padding: 28px 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    text-align: center;
    color: var(--nfcm-card-fg);
    border: 1px solid var(--nfcm-card-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 680px;
    transition: opacity 0.42s ease;
}

.nfcm-public-cover {
    margin: -28px -22px 18px;
    height: 138px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.04));
}

.nfcm-public-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.18));
    pointer-events: none;
}

.nfcm-public-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nfcm-public-header {
    position: relative;
    z-index: 1;
}

.nfcm-public-avatar-intro {
    --nfcm-avatar-intro-offset-x: 0px;
    --nfcm-avatar-intro-offset-y: 0px;
    --nfcm-avatar-intro-scale: 0.78;
    position: fixed;
    top: 0;
    left: 0;
    width: 104px;
    height: 104px;
    z-index: 12;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform-origin: center center;
    transform: translate3d(var(--nfcm-avatar-intro-offset-x), var(--nfcm-avatar-intro-offset-y), 0) scale(var(--nfcm-avatar-intro-scale));
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, visibility 0s linear 0.32s;
}

.nfcm-public-avatar-intro__img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.26);
}

html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-pending .nfcm-public-avatar-intro__img {
    animation: nfcm-public-avatar-intro-pulse 1.2s ease-in-out infinite alternate;
}

html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-armed.is-avatar-intro-pending .nfcm-public-avatar-intro,
html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-armed.is-avatar-intro-playing .nfcm-public-avatar-intro {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s, 0s, 0s;
}

html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-pending .nfcm-public-card {
    opacity: 0;
}

html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-playing .nfcm-public-card,
html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-complete .nfcm-public-card {
    opacity: 1;
}

html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-pending #nfcm-public-avatar-target,
html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-playing #nfcm-public-avatar-target {
    opacity: 0;
}

html.nfcm-js .nfcm-public--premium-intro-ready #nfcm-public-avatar-target {
    transition: opacity 0.18s ease;
}

html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-playing .nfcm-public-avatar-intro {
    transform: translate3d(0, 0, 0) scale(1);
}

html.nfcm-js .nfcm-public--premium-intro-ready.is-avatar-intro-complete .nfcm-public-avatar-intro {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
    visibility: hidden;
}

@keyframes nfcm-public-avatar-intro-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 24px 54px rgba(15, 23, 42, 0.22);
    }

    100% {
        transform: scale(1.04);
        box-shadow: 0 30px 68px rgba(15, 23, 42, 0.3);
    }
}

.nfcm-public-brand {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.nfcm-public-footer {
    margin-top: auto;
    display: grid;
    gap: 12px;
    padding-top: 18px;
}

.nfcm-public-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nfcm-public-brand-link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.nfcm-public-brand-logo {
    max-width: 140px;
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.nfcm-public-brand-fallback {
    font-size: 15px;
    font-weight: 700;
    color: var(--nfcm-card-accent);
}

.nfcm-public-brand-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--nfcm-card-muted);
}

.nfcm-public-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--nfcm-card-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 16px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.nfcm-public-name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--nfcm-card-fg);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
}

.nfcm-public-sub {
    margin-top: 6px;
    color: var(--nfcm-card-muted);
    font-size: 14px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nfcm-public-bio {
    margin: 18px 0;
    color: var(--nfcm-card-fg);
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nfcm-public-primary-action {
    margin: 18px 0 8px;
}

.nfcm-public-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 18px 0;
}

.nfcm-public-btn {
    flex: 1 1 130px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--nfcm-card-accent);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.nfcm-public-btn:hover {
    background: #000;
}

.nfcm-public-btn i {
    font-size: 14px;
    line-height: 1;
    flex: 0 0 auto;
}

.nfcm-public-btn span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nfcm-public-btn--primary-action {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--nfcm-card-accent);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.14);
    font-size: 15px;
}

.nfcm-public-btn--primary-action i {
    font-size: 16px;
}

.nfcm-public-btn--secondary {
    background: #f3f4f6;
    color: #374151;
}

.nfcm-public-btn--secondary:hover {
    background: #e5e7eb;
}

.nfcm-public-details {
    margin-top: 16px;
    text-align: left;
}

.nfcm-public-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid var(--nfcm-card-border);
}

.nfcm-public-row span {
    color: var(--nfcm-card-muted);
}

.nfcm-public-row strong {
    color: var(--nfcm-card-fg);
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
    text-align: right;
}

.nfcm-public-edit {
    margin-top: 18px;
    font-size: 12px;
}

.nfcm-public-edit a {
    color: var(--nfcm-card-muted);
    text-decoration: none;
}

.nfcm-public-card__body {
    display: grid;
    gap: 18px;
}

.nfcm-public-card--classic .nfcm-public-card__body {
    gap: 0;
}

.nfcm-public-section {
    display: grid;
    gap: 16px;
}

.nfcm-public-section__head {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.nfcm-public-section__head--left {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
}

.nfcm-public-section__copy {
    min-width: 0;
}

.nfcm-public-grid {
    display: grid;
    gap: 18px;
}

.nfcm-public-grid--studio {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
}

.nfcm-public-grid--executive {
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.8fr);
    align-items: start;
}

.nfcm-public-panel {
    padding: 18px;
    border-radius: 18px;
    background: var(--nfcm-card-soft);
    border: 1px solid var(--nfcm-card-border);
}

.nfcm-public-socials,
.nfcm-public-footer,
.nfcm-public-edit {
}

.nfcm-public-panel__title {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nfcm-card-muted);
}

.nfcm-public-actions--left,
.nfcm-public-socials--left {
    justify-content: flex-start;
}

.nfcm-public-custom-links--compact,
.nfcm-public-actions--left {
    margin-top: 12px;
}

.nfcm-public-primary-action--inline .nfcm-public-btn--primary-action {
    width: auto;
    min-width: 220px;
}

.nfcm-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px 24px;
}

.nfcm-form-grid > .nfcm-form-group-heading:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (min-width: 768px) {
    .nfcm-form-group-heading {
        margin-top: 24px;
        padding-top: 24px;
    }
}

.nfcm-field--stacked .nfcm-label-with-icon {
    display: flex !important;
    width: 100%;
}

.nfcm-field--stacked input[type="text"],
.nfcm-field--stacked input[type="email"],
.nfcm-field--stacked input[type="url"],
.nfcm-field--stacked textarea,
.nfcm-field input[type="text"],
.nfcm-field textarea {
    max-width: none;
}

.nfcm-avatar-picker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.nfcm-cover-picker {
    display: grid;
    gap: 12px;
}

.nfcm-cover-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.nfcm-avatar-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.nfcm-avatar-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nfcm-avatar-actions .nfcm-btn {
    min-width: 0;
}

.nfcm-avatar-help {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.45;
}

.nfcm-avatar-preview-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    overflow: hidden;
}

.nfcm-cover-preview-wrap {
    position: relative;
    width: 100%;
    height: 164px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.nfcm-avatar-preview-wrap--interactive {
    cursor: pointer;
}

.nfcm-cover-preview-wrap--interactive {
    cursor: pointer;
}

.nfcm-avatar-preview-wrap--interactive:focus-visible {
    outline: 0;
}

.nfcm-avatar-preview-wrap--interactive:focus-visible::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.14);
}

.nfcm-avatar-preview,
.nfcm-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.nfcm-cover-preview,
.nfcm-cover-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nfcm-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
    padding: 12px 12px 42px;
    box-sizing: border-box;
}

.nfcm-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    padding: 16px 16px 44px;
    box-sizing: border-box;
}

.nfcm-avatar-overlay {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.86);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.nfcm-cover-overlay {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.86);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.nfcm-public-avatar-img {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 16px;
    border: 3px solid #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.nfcm-public-cover + .nfcm-public-header .nfcm-public-avatar,
.nfcm-public-cover + .nfcm-public-header .nfcm-public-avatar-img,
.nfcm-public-card--classic .nfcm-public-cover + .nfcm-public-card__body .nfcm-public-header .nfcm-public-avatar,
.nfcm-public-card--classic .nfcm-public-cover + .nfcm-public-card__body .nfcm-public-header .nfcm-public-avatar-img {
    margin-top: -54px;
}

.nfcm-public-card--classic .nfcm-public-header {
    position: relative;
    z-index: 1;
}

.nfcm-public-card--classic .nfcm-public-bio,
.nfcm-public-card--classic .nfcm-public-primary-action,
.nfcm-public-card--classic .nfcm-public-actions,
.nfcm-public-card--classic .nfcm-public-custom-links,
.nfcm-public-card--classic .nfcm-public-socials,
.nfcm-public-card--classic .nfcm-public-details {
    margin-top: 18px;
}

.nfcm-public--default {
    background: linear-gradient(135deg, #111827, #1f2937);
}

.nfcm-public--sunset {
    background: linear-gradient(135deg, #7c2d12, #ea580c 52%, #f59e0b);
}

.nfcm-public--sunset .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 237, 213, 0.96));
    --nfcm-card-fg: #7c2d12;
    --nfcm-card-muted: #9a3412;
    --nfcm-card-soft: rgba(255, 255, 255, 0.72);
    --nfcm-card-accent: #ea580c;
    --nfcm-card-border: rgba(251, 191, 36, 0.35);
}

.nfcm-public--ocean {
    background: linear-gradient(135deg, #0f172a, #0369a1 48%, #22d3ee);
}

.nfcm-public--ocean .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(240, 249, 255, 0.98), rgba(224, 242, 254, 0.96));
    --nfcm-card-fg: #0f172a;
    --nfcm-card-muted: #0f766e;
    --nfcm-card-soft: rgba(255, 255, 255, 0.72);
    --nfcm-card-accent: #0284c7;
    --nfcm-card-border: rgba(34, 211, 238, 0.32);
}

.nfcm-public--forest {
    background: linear-gradient(135deg, #052e16, #166534 55%, #84cc16);
}

.nfcm-public--forest .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(247, 254, 231, 0.98), rgba(236, 253, 245, 0.95));
    --nfcm-card-fg: #14532d;
    --nfcm-card-muted: #3f6212;
    --nfcm-card-soft: rgba(255, 255, 255, 0.75);
    --nfcm-card-accent: #15803d;
    --nfcm-card-border: rgba(132, 204, 22, 0.35);
}

.nfcm-public--midnight {
    background: linear-gradient(135deg, #020617, #312e81 52%, #7c3aed);
}

.nfcm-public--midnight .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.94));
    --nfcm-card-fg: #f8fafc;
    --nfcm-card-muted: #cbd5e1;
    --nfcm-card-soft: rgba(255, 255, 255, 0.08);
    --nfcm-card-accent: #8b5cf6;
    --nfcm-card-border: rgba(139, 92, 246, 0.28);
    box-shadow: 0 22px 65px rgba(2, 6, 23, 0.42);
}

.nfcm-public--midnight .nfcm-public-avatar-img {
    border-color: rgba(255, 255, 255, 0.14);
}

.nfcm-public--rose {
    background: linear-gradient(135deg, #4c0519, #be185d 52%, #f9a8d4);
}

.nfcm-public--rose .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(255, 241, 242, 0.98), rgba(252, 231, 243, 0.96));
    --nfcm-card-fg: #831843;
    --nfcm-card-muted: #9d174d;
    --nfcm-card-soft: rgba(255, 255, 255, 0.76);
    --nfcm-card-accent: #db2777;
    --nfcm-card-border: rgba(244, 114, 182, 0.32);
}

.nfcm-public--amber {
    background: linear-gradient(135deg, #78350f, #b45309 52%, #f59e0b);
}

.nfcm-public--amber .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(254, 243, 199, 0.96));
    --nfcm-card-fg: #78350f;
    --nfcm-card-muted: #92400e;
    --nfcm-card-soft: rgba(255, 255, 255, 0.78);
    --nfcm-card-accent: #d97706;
    --nfcm-card-border: rgba(245, 158, 11, 0.34);
}

.nfcm-public--aurora {
    background: linear-gradient(135deg, #022c22, #0f766e 52%, #5eead4);
}

.nfcm-public--aurora .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(236, 253, 245, 0.98), rgba(204, 251, 241, 0.95));
    --nfcm-card-fg: #115e59;
    --nfcm-card-muted: #0f766e;
    --nfcm-card-soft: rgba(255, 255, 255, 0.78);
    --nfcm-card-accent: #0f766e;
    --nfcm-card-border: rgba(45, 212, 191, 0.32);
}

.nfcm-public--espresso {
    background: linear-gradient(135deg, #2b1d17, #6f4e37 56%, #b08968);
}

.nfcm-public--espresso .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(250, 245, 239, 0.98), rgba(237, 224, 212, 0.96));
    --nfcm-card-fg: #4a2c23;
    --nfcm-card-muted: #6f4e37;
    --nfcm-card-soft: rgba(255, 255, 255, 0.72);
    --nfcm-card-accent: #8b5e3c;
    --nfcm-card-border: rgba(176, 137, 104, 0.34);
}

.nfcm-public--arctic {
    background: linear-gradient(135deg, #0f172a, #334155 52%, #7dd3fc);
}

.nfcm-public--arctic .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(248, 250, 252, 0.99), rgba(224, 242, 254, 0.95));
    --nfcm-card-fg: #0f172a;
    --nfcm-card-muted: #475569;
    --nfcm-card-soft: rgba(255, 255, 255, 0.82);
    --nfcm-card-accent: #0284c7;
    --nfcm-card-border: rgba(125, 211, 252, 0.34);
}

.nfcm-public--studio {
    background:
        radial-gradient(circle at top left, rgba(148, 163, 184, 0.18), transparent 34%),
        linear-gradient(135deg, #0f172a, #172554 52%, #1d4ed8);
}

.nfcm-public--studio .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.97));
    --nfcm-card-fg: #0f172a;
    --nfcm-card-muted: #64748b;
    --nfcm-card-soft: #f8fafc;
    --nfcm-card-accent: #0f172a;
    --nfcm-card-border: rgba(203, 213, 225, 0.72);
    max-width: 620px;
    text-align: left;
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
}

.nfcm-public--executive {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(135deg, #111827, #334155 56%, #64748b);
}

.nfcm-public--executive .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    --nfcm-card-fg: #111827;
    --nfcm-card-muted: #64748b;
    --nfcm-card-soft: rgba(241, 245, 249, 0.94);
    --nfcm-card-accent: #111827;
    --nfcm-card-border: rgba(203, 213, 225, 0.72);
    max-width: 760px;
    text-align: left;
}

.nfcm-public--spotlight {
    background:
        radial-gradient(circle at top center, rgba(249, 168, 212, 0.32), transparent 30%),
        linear-gradient(135deg, #4c1d95, #7e22ce 52%, #db2777);
}

.nfcm-public--spotlight .nfcm-public-card {
    --nfcm-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
    --nfcm-card-fg: #ffffff;
    --nfcm-card-muted: rgba(255, 255, 255, 0.78);
    --nfcm-card-soft: rgba(255, 255, 255, 0.08);
    --nfcm-card-accent: #ffffff;
    --nfcm-card-border: rgba(255, 255, 255, 0.16);
    max-width: 520px;
    text-align: center;
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 70px rgba(76, 29, 149, 0.34);
}

.nfcm-public--spotlight .nfcm-public-avatar-img,
.nfcm-public--spotlight .nfcm-public-avatar {
    border-color: rgba(255, 255, 255, 0.24);
}

.nfcm-public-panel--spotlight {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
}

.nfcm-public-section--spotlight {
    position: relative;
    justify-items: center;
    text-align: center;
    padding: 6px 0 4px;
}

.nfcm-public-spotlight-orb {
    position: absolute;
    top: -18px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 66%);
    filter: blur(10px);
    pointer-events: none;
}

.nfcm-public-card--studio .nfcm-public-cover,
.nfcm-public-card--executive .nfcm-public-cover {
    margin-bottom: 24px;
}

.nfcm-public-card--studio .nfcm-public-cover {
    height: 176px;
}

.nfcm-public-card--studio .nfcm-public-cover::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.16));
}

.nfcm-public-section--studio-hero {
    gap: 18px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nfcm-public-studio-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nfcm-public-card--studio .nfcm-public-section__head--left {
    align-items: center;
    gap: 18px;
}

.nfcm-public-card--studio .nfcm-public-avatar,
.nfcm-public-card--studio .nfcm-public-avatar-img {
    width: 94px;
    height: 94px;
    margin: 0;
    border-radius: 28px;
}

.nfcm-public-card--studio .nfcm-public-avatar-img {
    border-width: 0;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.nfcm-public-card--studio .nfcm-public-avatar {
    font-size: 30px;
}

.nfcm-public-card--studio .nfcm-public-name {
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.nfcm-public-card--studio .nfcm-public-sub {
    margin-top: 8px;
    font-size: 15px;
}

.nfcm-public-card--studio .nfcm-public-bio {
    margin: 0;
    max-width: 56ch;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
}

.nfcm-public-studio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nfcm-public-studio-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.nfcm-public-grid--studio {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.92fr);
    gap: 14px;
}

.nfcm-public-card--studio .nfcm-public-panel {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nfcm-public-card--studio .nfcm-public-panel__title {
    margin-bottom: 14px;
    color: #94a3b8;
}

.nfcm-public-card--studio .nfcm-public-actions--left,
.nfcm-public-card--studio .nfcm-public-custom-links--compact {
    margin-top: 0;
}

.nfcm-public-card--studio .nfcm-public-actions {
    gap: 9px;
}

.nfcm-public-card--studio .nfcm-public-btn {
    min-width: 0;
    padding: 11px 13px;
    border-radius: 14px;
    background: #0f172a;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.nfcm-public-card--studio .nfcm-public-btn:hover {
    background: #020617;
}

.nfcm-public-card--studio .nfcm-public-btn--primary-action {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.nfcm-public-card--studio .nfcm-public-socials--left {
    margin-top: 0;
    margin-bottom: 16px;
    gap: 10px;
}

.nfcm-public-card--studio .nfcm-social-icon {
    width: 42px;
    height: 42px;
    background: #eef2ff;
    color: #1e3a8a;
}

.nfcm-public-card--studio .nfcm-social-icon:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.nfcm-public-details--studio {
    margin-top: 0;
}

.nfcm-public-card--studio .nfcm-public-row {
    padding: 12px 0;
}

.nfcm-public-card--spotlight .nfcm-public-cover {
    height: 172px;
    margin-bottom: 12px;
}

.nfcm-public-card--spotlight .nfcm-public-cover::after {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(76, 29, 149, 0.28));
}

.nfcm-public-card--spotlight .nfcm-public-avatar,
.nfcm-public-card--spotlight .nfcm-public-avatar-img {
    position: relative;
    z-index: 1;
    margin-top: -64px;
}

.nfcm-public-card--spotlight .nfcm-public-name,
.nfcm-public-card--spotlight .nfcm-public-sub,
.nfcm-public-card--spotlight .nfcm-public-bio {
    position: relative;
    z-index: 1;
}

.nfcm-public-card--spotlight .nfcm-public-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.nfcm-public-card--spotlight .nfcm-public-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.nfcm-public-card--spotlight .nfcm-social-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nfcm-public-card--spotlight .nfcm-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nfcm-public-card--spotlight .nfcm-public-row {
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.nfcm-public-card--spotlight .nfcm-public-brand-fallback,
.nfcm-public-card--spotlight .nfcm-public-brand-name,
.nfcm-public-card--spotlight .nfcm-public-edit a {
    color: rgba(255, 255, 255, 0.84);
}

.nfcm-public-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 8px;
}

.nfcm-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--nfcm-card-soft);
    color: var(--nfcm-card-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nfcm-social-icon:hover {
    background: var(--nfcm-card-accent);
    color: #fff;
}

.nfcm-social-icon i {
    font-size: 20px;
    line-height: 1;
}

.nfcm-field {
    display: block;
}

.nfcm-field label {
    display: block;
}

.nfcm-field input,
.nfcm-field select,
.nfcm-field textarea {
    display: block;
    width: 100%;
}

.nfcm-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.nfcm-theme-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nfcm-theme-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nfcm-theme-option:hover {
    transform: translateY(-1px);
}

.nfcm-theme-option::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.nfcm-theme-option input[type="radio"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

.nfcm-theme-option:has(input[type="radio"]:checked) {
    background: transparent;
}

.nfcm-theme-option:has(input[type="radio"]:checked)::after {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.nfcm-theme-swatch {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    margin-left: -14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.12);
}

.nfcm-theme-swatch--default {
    background: linear-gradient(135deg, #111827, #1f2937);
}

.nfcm-theme-swatch--sunset {
    background: linear-gradient(135deg, #7c2d12, #ea580c 52%, #f59e0b);
}

.nfcm-theme-swatch--ocean {
    background: linear-gradient(135deg, #0f172a, #0369a1 48%, #22d3ee);
}

.nfcm-theme-swatch--forest {
    background: linear-gradient(135deg, #052e16, #166534 55%, #84cc16);
}

.nfcm-theme-swatch--midnight {
    background: linear-gradient(135deg, #020617, #312e81 52%, #7c3aed);
}

.nfcm-theme-swatch--rose {
    background: linear-gradient(135deg, #4c0519, #be185d 52%, #f9a8d4);
}

.nfcm-theme-swatch--amber {
    background: linear-gradient(135deg, #78350f, #d97706 52%, #fde68a);
}

.nfcm-theme-swatch--aurora {
    background: linear-gradient(135deg, #064e3b, #0f766e 52%, #99f6e4);
}

.nfcm-theme-swatch--espresso {
    background: linear-gradient(135deg, #2b1d17, #6f4e37 52%, #d6bfa7);
}

.nfcm-theme-swatch--arctic {
    background: linear-gradient(135deg, #0f172a, #475569 52%, #e0f2fe);
}

.nfcm-theme-swatch--studio {
    background: linear-gradient(135deg, #0f172a, #1d4ed8 52%, #93c5fd);
}

.nfcm-theme-swatch--executive {
    background: linear-gradient(135deg, #111827, #475569 52%, #e2e8f0);
}

.nfcm-theme-swatch--spotlight {
    background: linear-gradient(135deg, #4c1d95, #db2777 52%, #f9a8d4);
}

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

.nfcm-live-preview {
    position: sticky;
    top: 24px;
    align-self: start;
}

@media (min-width: 768px) {
    .nfcm-form-actions-sticky--mobile {
        display: none !important;
    }

    .nfcm-form-actions-sticky--desktop.is-visible {
        display: block;
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 12px;
        padding: 18px 20px;
        border-radius: 20px;
        border: 1px solid rgba(203, 213, 225, 0.92);
        background: linear-gradient(180deg, rgba(248, 250, 252, 0.99), rgba(241, 245, 249, 0.98));
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    }

    .nfcm-form-actions-sticky--desktop .nfcm-btn {
        width: 100%;
        min-height: 58px;
    }

    .nfcm-btn--view-desktop {
        display: inline-flex;
    }

    .nfcm-form-actions-sticky--desktop .nfcm-btn--save {
        font-size: 17px;
    }

    .nfcm-edit-nav {
        display: flex;
        justify-content: flex-end;
    }

    #nfcm-view-card-mobile {
        display: none;
    }

    .nfcm-actions--dashboard-nav {
        justify-content: flex-end;
    }

    .nfcm-live-preview__canvas::-webkit-scrollbar {
        width: 10px;
    }

    .nfcm-live-preview__canvas::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
        border: 2px solid #eef2f7;
    }

    .nfcm-live-preview__canvas::-webkit-scrollbar-track {
        background: transparent;
    }
}

.nfcm-live-preview__shell {
    display: grid;
    gap: 12px;
}

.nfcm-live-preview__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #475569;
    font-size: 13px;
}

.nfcm-live-preview__header strong {
    color: #111827;
    font-size: 14px;
}

.nfcm-live-preview__canvas {
    padding: 18px 16px 20px;
    border-radius: 22px;
    background: var(--nfcm-preview-shell-bg, linear-gradient(180deg, #f8fafc, #eef2f7));
    border: 0;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    max-height: 620px;
    overflow: auto;
}

.nfcm-preview-public {
    --nfcm-preview-bg: #ffffff;
    --nfcm-preview-fg: #111827;
    --nfcm-preview-muted: #6b7280;
    --nfcm-preview-soft: #f3f4f6;
    --nfcm-preview-accent: #111827;
    --nfcm-preview-border: rgba(229, 231, 235, 0.9);
    background: var(--nfcm-preview-bg);
    border: 1px solid var(--nfcm-preview-border);
    border-radius: 22px;
    overflow: hidden;
    min-height: 580px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    color: var(--nfcm-preview-fg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.nfcm-preview-public--default,
.nfcm-preview-public--sunset,
.nfcm-preview-public--ocean,
.nfcm-preview-public--forest,
.nfcm-preview-public--midnight,
.nfcm-preview-public--rose,
.nfcm-preview-public--amber,
.nfcm-preview-public--aurora,
.nfcm-preview-public--espresso,
.nfcm-preview-public--arctic {
    margin: 0 auto;
}

.nfcm-phone-preview .nfcm-preview-public {
    min-height: 100%;
    width: 100%;
}

.nfcm-preview-public__cover {
    height: 138px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.03));
    overflow: hidden;
}

.nfcm-preview-public__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nfcm-preview-public__body {
    display: grid;
    gap: 16px;
    padding: 28px 22px 0;
}

.nfcm-preview-public__header {
    text-align: center;
}

.nfcm-preview-public__avatar,
.nfcm-preview-public__avatar-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.nfcm-preview-public__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nfcm-preview-accent);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.nfcm-preview-public__avatar-img {
    object-fit: cover;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.nfcm-preview-public.has-cover .nfcm-preview-public__avatar,
.nfcm-preview-public.has-cover .nfcm-preview-public__avatar-img {
    margin-top: -62px;
}

.nfcm-preview-public__name {
    margin: 0;
    font-size: 23px;
    line-height: 1.15;
    color: var(--nfcm-preview-fg);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nfcm-preview-public__sub {
    margin-top: 6px;
    font-size: 13px;
    color: var(--nfcm-preview-muted);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nfcm-preview-public__bio {
    color: var(--nfcm-preview-fg);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nfcm-preview-public__primary {
    display: grid;
}

.nfcm-preview-public__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 18px 0;
}

.nfcm-preview-public__button {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--nfcm-preview-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.nfcm-preview-public__button span,
.nfcm-preview-public__detail strong {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nfcm-preview-public__button--primary {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.nfcm-preview-public__socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nfcm-preview-public__social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--nfcm-preview-soft);
    color: var(--nfcm-preview-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nfcm-preview-public__details {
    display: grid;
    gap: 0;
}

.nfcm-preview-public__detail {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--nfcm-preview-border);
    font-size: 12px;
}

.nfcm-preview-public__detail span {
    color: var(--nfcm-preview-muted);
}

.nfcm-preview-public__detail strong {
    color: var(--nfcm-preview-fg);
    text-align: right;
}

.nfcm-preview-public__footer {
    margin-top: auto;
    display: grid;
    gap: 10px;
    justify-items: center;
    padding: 18px;
}

.nfcm-preview-public__edit {
    font-size: 12px;
    color: var(--nfcm-preview-muted);
}

.nfcm-preview-public__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nfcm-preview-public__brand-logo {
    max-width: 120px;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.nfcm-preview-public__brand-fallback {
    color: var(--nfcm-preview-accent);
    font-weight: 700;
    font-size: 14px;
}

.nfcm-preview-public__brand-name {
    color: var(--nfcm-preview-muted);
    font-size: 12px;
    font-weight: 600;
}

.nfcm-preview-public--default {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #111827, #1f2937);
    --nfcm-preview-bg: #ffffff;
    --nfcm-preview-fg: #111827;
    --nfcm-preview-muted: #6b7280;
    --nfcm-preview-soft: #f3f4f6;
    --nfcm-preview-accent: #111827;
    --nfcm-preview-border: rgba(229, 231, 235, 0.9);
}

.nfcm-preview-public--sunset {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #7c2d12, #ea580c 52%, #f59e0b);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 237, 213, 0.96));
    --nfcm-preview-fg: #7c2d12;
    --nfcm-preview-muted: #9a3412;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.78);
    --nfcm-preview-accent: #ea580c;
    --nfcm-preview-border: rgba(251, 191, 36, 0.35);
}

.nfcm-preview-public--ocean {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #0f172a, #0369a1 48%, #22d3ee);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(240, 249, 255, 0.98), rgba(224, 242, 254, 0.96));
    --nfcm-preview-fg: #0f172a;
    --nfcm-preview-muted: #0f766e;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.8);
    --nfcm-preview-accent: #0284c7;
    --nfcm-preview-border: rgba(34, 211, 238, 0.32);
}

.nfcm-preview-public--forest {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #052e16, #166534 55%, #84cc16);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(247, 254, 231, 0.98), rgba(236, 253, 245, 0.95));
    --nfcm-preview-fg: #14532d;
    --nfcm-preview-muted: #3f6212;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.8);
    --nfcm-preview-accent: #15803d;
    --nfcm-preview-border: rgba(132, 204, 22, 0.35);
}

.nfcm-preview-public--midnight {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #020617, #312e81 52%, #7c3aed);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
    --nfcm-preview-fg: #f8fafc;
    --nfcm-preview-muted: #cbd5e1;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.08);
    --nfcm-preview-accent: #8b5cf6;
    --nfcm-preview-border: rgba(139, 92, 246, 0.28);
}

.nfcm-preview-public--midnight .nfcm-preview-public__avatar-img {
    border-color: rgba(255, 255, 255, 0.14);
}

.nfcm-preview-public--rose {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #4c0519, #be185d 52%, #f9a8d4);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(255, 241, 242, 0.98), rgba(252, 231, 243, 0.96));
    --nfcm-preview-fg: #831843;
    --nfcm-preview-muted: #9d174d;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.8);
    --nfcm-preview-accent: #db2777;
    --nfcm-preview-border: rgba(244, 114, 182, 0.32);
}

.nfcm-preview-public--amber {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #78350f, #b45309 52%, #f59e0b);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(254, 243, 199, 0.96));
    --nfcm-preview-fg: #78350f;
    --nfcm-preview-muted: #92400e;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.8);
    --nfcm-preview-accent: #d97706;
    --nfcm-preview-border: rgba(245, 158, 11, 0.34);
}

.nfcm-preview-public--aurora {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #022c22, #0f766e 52%, #5eead4);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(236, 253, 245, 0.98), rgba(204, 251, 241, 0.95));
    --nfcm-preview-fg: #115e59;
    --nfcm-preview-muted: #0f766e;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.8);
    --nfcm-preview-accent: #0f766e;
    --nfcm-preview-border: rgba(45, 212, 191, 0.32);
}

.nfcm-preview-public--espresso {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #2b1d17, #6f4e37 56%, #b08968);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(250, 245, 239, 0.98), rgba(237, 224, 212, 0.96));
    --nfcm-preview-fg: #4a2c23;
    --nfcm-preview-muted: #6f4e37;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.78);
    --nfcm-preview-accent: #8b5e3c;
    --nfcm-preview-border: rgba(176, 137, 104, 0.34);
}

.nfcm-preview-public--arctic {
    --nfcm-preview-shell-bg: linear-gradient(135deg, #0f172a, #334155 52%, #7dd3fc);
    --nfcm-preview-bg: linear-gradient(180deg, rgba(248, 250, 252, 0.99), rgba(224, 242, 254, 0.95));
    --nfcm-preview-fg: #0f172a;
    --nfcm-preview-muted: #475569;
    --nfcm-preview-soft: rgba(255, 255, 255, 0.82);
    --nfcm-preview-accent: #0284c7;
    --nfcm-preview-border: rgba(125, 211, 252, 0.34);
}

.nfcm-template-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.nfcm-template-option {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nfcm-template-option:hover {
    border-color: #cbd5e1;
    background: #f9fafb;
    transform: translateY(-1px);
}

.nfcm-template-option input[type="radio"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

.nfcm-template-option:has(input[type="radio"]:checked) {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.nfcm-template-card {
    position: relative;
    display: grid;
    gap: 6px;
    width: 74px;
    height: 92px;
    padding: 9px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.nfcm-template-card__top,
.nfcm-template-card__body,
.nfcm-template-card__meta {
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
}

.nfcm-template-card__top {
    width: 60%;
    height: 10px;
}

.nfcm-template-card__body {
    width: 100%;
    height: 34px;
    border-radius: 12px;
}

.nfcm-template-card__meta {
    width: 78%;
    height: 8px;
}

.nfcm-template-card--classic {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.nfcm-template-card--studio {
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
}

.nfcm-template-card--studio .nfcm-template-card__body {
    border-radius: 18px 18px 10px 10px;
}

.nfcm-template-card--executive {
    background: linear-gradient(180deg, #f8fafc, #e2e8f0);
}

.nfcm-template-card--executive::after {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 9px;
    right: 25px;
    width: 1px;
    background: rgba(71, 85, 105, 0.18);
}

.nfcm-template-card--spotlight {
    background: linear-gradient(180deg, #7e22ce, #db2777);
}

.nfcm-template-card--spotlight .nfcm-template-card__top,
.nfcm-template-card--spotlight .nfcm-template-card__body,
.nfcm-template-card--spotlight .nfcm-template-card__meta {
    background: rgba(255, 255, 255, 0.22);
}

.nfcm-template-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    text-align: center;
}

.nfcm-analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.nfcm-analytics-range {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.nfcm-analytics-range__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nfcm-analytics-range__pill:hover,
.nfcm-analytics-range__pill:focus {
    color: #111827;
    background: #f3f4f6;
}

.nfcm-analytics-range__pill.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.nfcm-analytics-stat {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f8fafc;
}

.nfcm-analytics-stat__label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.nfcm-analytics-stat__value {
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    color: #111827;
}

.nfcm-analytics-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 18px;
}

.nfcm-public-qr {
    text-align: center;
    margin: 24px 0;
}

.nfcm-public-qr h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #111827;
}

.nfcm-public-qr img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
    gap: 18px;
}

.nfcm-analytics-panel {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    padding: 18px;
}

.nfcm-analytics-panel__title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.nfcm-analytics-chart-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    padding: 10px 12px 14px;
}

.nfcm-analytics-chart-host {
    min-height: 280px;
}

.nfcm-analytics-chart-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
}

.nfcm-analytics-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nfcm-analytics-list__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #111827;
}

.nfcm-analytics-list__row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.nfcm-analytics-list__row strong {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .nfcm-dashboard-premium-banner {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 18px;
    }

    .nfcm-dashboard-premium-banner--active {
        padding: 14px 16px;
    }

    .nfcm-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nfcm-dashboard-card {
        padding: 16px;
        border-radius: 18px;
    }

    .nfcm-dashboard-card__head {
        align-items: flex-start;
    }

    .nfcm-dashboard-card__avatar {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .nfcm-dashboard-card__status {
        margin-left: 0;
    }

    .nfcm-dashboard-card__premium-actions,
    .nfcm-dashboard-card__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nfcm-link-row {
        grid-template-columns: 56px minmax(0, 1fr) 44px;
        gap: 8px;
        align-items: start;
    }

    .nfcm-link-row .nfcm-icon-select {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        order: 0;
    }

    .nfcm-link-row input[name="custom_link_label[]"] {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .nfcm-link-row .nfcm-remove-link-row {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
        width: 44px;
        min-width: 44px;
        justify-self: end;
    }

    .nfcm-link-row input[name="custom_link_url[]"] {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
    }

    .nfcm-link-row .nfcm-input-error[data-for="custom_link_label[]"] {
        grid-column: 2 / 4;
        grid-row: 3 / 4;
    }

    .nfcm-link-row .nfcm-input-error[data-for="custom_link_url[]"] {
        grid-column: 1 / -1;
        grid-row: 4 / 5;
    }

    .nfcm-link-row .nfcm-icon-select__menu {
        min-width: 56px;
    }

    .nfcm-wrap {
        margin: 28px auto;
        padding: 0 14px;
    }

    .nfcm-dashboard-edit-layout {
        grid-template-columns: 1fr;
    }

    .nfcm-form-with-fixed-actions {
        display: block;
        padding-bottom: 20px;
    }

    .nfcm-live-preview {
        display: none;
    }

    .nfcm-form-actions-sticky--desktop {
        display: none !important;
    }

    .nfcm-title {
        font-size: 26px;
    }

    .nfcm-card {
        border-radius: 14px;
    }

    .nfcm-public-name {
        font-size: 20px;
        line-height: 1.18;
    }

    .nfcm-public-sub,
    .nfcm-public-bio,
    .nfcm-public-row strong {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .nfcm-table {
        min-width: 0;
    }

    .nfcm-table-wrap {
        overflow-x: visible;
    }

    .nfcm-table,
    .nfcm-table thead,
    .nfcm-table tbody,
    .nfcm-table tr,
    .nfcm-table th,
    .nfcm-table td {
        display: block;
        width: 100%;
    }

    .nfcm-table thead {
        display: none;
    }

    .nfcm-table-row {
        padding: 16px;
        border-bottom: 1px solid #f1f5f9;
    }

    .nfcm-table tr:last-child {
        border-bottom: 0;
    }

    .nfcm-table td {
        padding: 0;
        border-bottom: 0;
    }

    .nfcm-table td + td {
        margin-top: 14px;
    }

    .nfcm-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 8px;
        color: #6b7280;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .nfcm-stat {
        width: 100%;
    }

    .nfcm-stat--card-header {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .nfcm-stat__meta {
        gap: 10px;
        margin-bottom: 10px;
    }

    .nfcm-stat__code-wrap {
        gap: 6px;
        font-size: 12px;
    }

    .nfcm-stat__code {
        font-size: 12px;
        padding: 4px 7px;
    }

    .nfcm-stat__name-input {
        font-size: 20px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .nfcm-stat__edit-title {
        gap: 6px;
        font-size: 12px;
    }

    .nfcm-stat__help {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.4;
    }

    .nfcm-actions {
        width: 100%;
    }

    .nfcm-actions .nfcm-btn {
        flex: 1 1 100%;
        text-align: center;
    }

    .nfcm-actions--dashboard-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .nfcm-actions--dashboard-nav .nfcm-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }

    .nfcm-form-actions-sticky {
        bottom: 10px;
        padding: 10px;
        gap: 10px;
    }

    .nfcm-form-actions-sticky .nfcm-btn {
        flex: 1 1 0;
        width: 100%;
    }

    .nfcm-avatar-picker {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    .nfcm-cover-preview-wrap {
        height: 148px;
    }

    .nfcm-avatar-controls {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .nfcm-cover-controls {
        justify-content: center;
        text-align: center;
    }

    .nfcm-avatar-actions {
        justify-content: center;
    }

    .nfcm-state-card {
        padding: 28px 18px;
    }

    .nfcm-theme-picker {
        gap: 10px;
    }

    .nfcm-public-grid--studio,
    .nfcm-public-grid--executive {
        grid-template-columns: 1fr;
    }

    .nfcm-public-section__head--left {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .nfcm-public-actions--left,
    .nfcm-public-socials--left {
        justify-content: center;
    }

    .nfcm-public-primary-action--inline .nfcm-public-btn--primary-action {
        width: 100%;
        min-width: 0;
    }

    .nfcm-public-grid--executive .nfcm-public-panel,
    .nfcm-public-grid--studio .nfcm-public-panel {
        align-items: flex-start;
    }

    .nfcm-public-footer {
        justify-items: center;
    }

    .nfcm-analytics-grid,
    .nfcm-analytics-panels {
        grid-template-columns: 1fr;
    }

    .nfcm-analytics-chart-host {
        min-height: 240px;
    }
}
