.ngps-legal-card p {
    margin: 10px 0 0;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.75;
}

.ngps-checkbox-line {
    margin-top: 13px;
    color: var(--ngps-ink-soft);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.55;
}

.ngps-checkbox-line:has(input:checked) {
    color: var(--ngps-pink-dark);
}

.ngps-signature-card canvas {
    display: block;
    width: 100%;
    height: 210px;
    border: 1px solid #d8dee7;
    border-radius: 16px;
    background:
            repeating-linear-gradient(
                    0deg,
                    #ffffff,
                    #ffffff 31px,
                    #f3f4f6 32px
            ),
            #ffffff;
    cursor: crosshair;
    touch-action: none;
}

.ngps-signature-card canvas:hover {
    border-color:
            rgba(236, 72, 153, 0.45);
}

.ngps-signature-card canvas:focus {
    outline:
            3px solid
            rgba(236, 72, 153, 0.15);
    outline-offset: 2px;
}

.ngps-form-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-top: 1px solid var(--ngps-line);
    background: var(--ngps-surface);
}

.ngps-form-footer__spacer {
    flex: 1;
}

.ngps-shell .ngps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    margin: 0;
    padding: 10px 19px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 11.25px;
    font-weight: 800;
    letter-spacing: 0.015em;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition:
            transform var(--ngps-transition-fast),
            box-shadow var(--ngps-transition-fast),
            border-color var(--ngps-transition-fast),
            background-color var(--ngps-transition-fast),
            color var(--ngps-transition-fast),
            opacity var(--ngps-transition-fast);
}

.ngps-shell .ngps-button > span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.ngps-shell .ngps-button:focus-visible {
    outline: 3px solid rgba(109, 24, 61, .2);
    outline-offset: 3px;
}

.ngps-shell .ngps-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

.ngps-shell .ngps-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none !important;
    box-shadow: none !important;
}

.ngps-shell .ngps-button--primary {
    border-color: #55142f;
    background: #6d183d !important;
    color: #ffffff !important;
    box-shadow:
            0 12px 24px
            rgba(236, 72, 153, 0.2);
}

.ngps-shell .ngps-button--primary:hover:not(:disabled) {
    border-color: #431025;
    background: #55142f;
    transform: translateY(-1px);
    box-shadow:
            0 16px 28px
            rgba(236, 72, 153, 0.26);
}

.ngps-details-selector,
.ngps-final-summary {
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid var(--ngps-line);
    border-radius: 16px;
    background: #fff;
}

.ngps-token-entry {
    display: flex;
    gap: 9px;
    margin-top: 12px;
}

.ngps-selector-launch {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 2px 10px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px dashed rgba(109, 24, 61, .28);
    border-radius: 12px;
    background: #fffafd;
    color: #55142f;
    text-align: left;
    cursor: pointer;
}

.ngps-selector-launch:hover:not(:disabled) {
    border-color: #6d183d;
    background: #fff4f8;
    box-shadow: 0 8px 18px rgba(84, 17, 48, .08);
}

.ngps-selector-launch:focus-visible,
.ngps-dialog-close:focus-visible {
    outline: 3px solid rgba(109, 24, 61, .2);
    outline-offset: 3px;
}

.ngps-selector-launch > span { grid-row: 1 / 3; display: grid; place-items: center; border-radius: 9px; background: #f7dce8; font-size: 18px; }
.ngps-selector-launch strong { font-size: 11.5px; }
.ngps-selector-launch small { color: var(--ngps-muted); font-size: 10px; }

.ngps-manager-dialog {
    width: min(680px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(45, 8, 27, .3);
}

.ngps-shell dialog.ngps-manager-dialog,
dialog.ngps-manager-dialog {
    box-sizing: border-box !important;
    margin: auto !important;
    color: var(--ngps-ink, #2b071b) !important;
    font-family: var(--ngps-font, inherit) !important;
    text-align: left !important;
}

.ngps-manager-dialog__panel {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
}

.ngps-manager-dialog::backdrop { background: rgba(31, 7, 19, .62); backdrop-filter: blur(4px); }
.ngps-manager-dialog__panel > header { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; gap: 20px !important; width: 100% !important; margin: 0 !important; padding: 20px 22px 16px !important; border: 0 !important; border-bottom: 1px solid var(--ngps-line) !important; background: #fff !important; }
.ngps-manager-dialog__panel > header > div { flex: 1 1 auto !important; min-width: 0 !important; }
.ngps-manager-dialog__panel header span { color: var(--ngps-pink-dark); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ngps-manager-dialog__panel header h3 { margin: 3px 0; color: var(--ngps-ink); font-size: 19px; }
.ngps-manager-dialog__panel header p { margin: 0; color: var(--ngps-muted); font-size: 11px; }
.ngps-dialog-close { display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border: 1px solid #cfc4c9; border-radius: 9px; background: #fff; color: #55142f; font-size: 19px; line-height: 1; cursor: pointer; }
.ngps-dialog-close:hover { border-color: #6d183d; background: #fff4f8; }
.ngps-dialog-search { display: flex !important; align-items: center !important; gap: 9px !important; width: 100% !important; margin: 0 !important; padding: 15px 22px !important; }
.ngps-dialog-search input { flex: 1; min-width: 0; }
.ngps-dialog-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; max-height: 350px; overflow: auto; padding: 0 22px 18px; }
.ngps-dialog-option { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid var(--ngps-line); border-radius: 11px; background: #fff; color: var(--ngps-ink-soft); font-size: 11px; font-weight: 700; cursor: pointer; }
.ngps-dialog-option:has(input:checked) { border-color: #6d183d; background: #fff4f8; color: #55142f; }
.ngps-manager-dialog__panel > footer { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 9px !important; width: 100% !important; margin: 0 !important; padding: 14px 22px !important; border: 0 !important; border-top: 1px solid var(--ngps-line) !important; background: #faf8f9 !important; }
.ngps-manager-dialog__panel > footer > span { margin-right: auto; color: var(--ngps-muted); font-size: 10px; font-weight: 750; }

.ngps-token-entry input {
    flex: 1 1 auto;
    min-width: 0;
}

.ngps-token-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ngps-token {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(109, 24, 61, .18);
    border-radius: 8px;
    background: #fdf4f8;
    color: #55142f;
    font-size: 11px;
    font-weight: 750;
}

.ngps-token button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
}

.ngps-selection-count {
    color: var(--ngps-muted);
    font-size: 10.5px;
    font-weight: 800;
}

.ngps-final-summary dl {
    display: grid;
    grid-template-columns: minmax(110px, .35fr) 1fr;
    gap: 0;
    margin: 15px 0 0;
    border: 1px solid var(--ngps-line);
    border-radius: 12px;
    overflow: hidden;
}

.ngps-final-summary dt,
.ngps-final-summary dd {
    margin: 0;
    padding: 9px 11px;
    border-bottom: 1px solid var(--ngps-line);
    font-size: 11px;
    line-height: 1.5;
}

.ngps-final-summary dt {
    background: #f8f6f7;
    color: #55142f;
    font-weight: 800;
}

.ngps-final-summary dd {
    color: var(--ngps-ink-soft);
    overflow-wrap: anywhere;
}

.ngps-summary-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.ngps-summary-media.is-single {
    grid-template-columns: minmax(0, min(100%, 520px));
    justify-content: center;
}

.ngps-summary-media.is-single figure {
    width: 100%;
    justify-self: center;
}

.ngps-summary-media figure {
    margin: 0;
    padding: 9px;
    border: 1px solid var(--ngps-line);
    border-radius: 12px;
    background: #faf8f9;
}

.ngps-summary-media img {
    display: block;
    width: 100%;
    max-height: 260px;
    border-radius: 8px;
    object-fit: contain;
    background: #eee9eb;
}

.ngps-summary-media figcaption {
    margin-top: 7px;
    color: #55142f;
    font-size: 10px;
    font-weight: 750;
}

.ngps-shell .ngps-button--secondary,
.ngps-shell .ngps-button--ghost {
    border-color: #cfc4c9;
    background: #ffffff !important;
    color: #55142f !important;
    box-shadow: 0 4px 12px rgba(54, 12, 31, .06);
}

.ngps-shell .ngps-button--secondary:hover:not(:disabled),
.ngps-shell .ngps-button--ghost:hover:not(:disabled) {
    border-color: #6d183d;
    background: #fff4f8;
    color: #431025;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(84, 17, 48, .1);
}

.ngps-shell .ngps-form-footer .ngps-button {
    min-width: 118px;
}

.ngps-spinner {
    width: 16px;
    height: 16px;
    border:
            2px solid
            rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation:
            ngpsSpin
            700ms
            linear
            infinite;
}
