/* Scoped native subscription UI; existing Nubia styles remain intact. */
.peridot-capture {box-sizing:border-box;width:calc(100% - 32px);max-width:420px;max-height:80vh;max-height:80dvh;overflow-y:auto;border:1px solid #777;border-radius:4px;padding:24px;color:#222;background:#fff;line-height:1.55;font-family:inherit;}
.peridot-capture:not([open]) {display:none;}
.peridot-capture::backdrop {background:rgba(0,0,0,.45);}
.peridot-capture h2 {font-family:inherit;font-size:1.35rem;line-height:1.3;clear:both;}
.peridot-capture p {margin:12px 0;font-size:.95rem;}
.peridot-capture label {display:block;margin:16px 0 6px;font-weight:600;}
.peridot-capture input {box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1px solid #666;border-radius:2px;background:#fff;color:#222;font:inherit;}
.peridot-capture .peridot-capture-submit {margin-top:12px;width:100%;min-height:44px;background:#222;color:#fff;border:1px solid #222;font:inherit;}
.peridot-capture-close {display:block;margin:0 0 12px auto;min-height:44px;min-width:64px;padding:8px;border:1px solid #666;background:#fff;color:#222;font:inherit;cursor:pointer;}
.peridot-capture a {color:#222;text-decoration:underline;}
.peridot-capture :focus-visible,.peridot-capture-cta a:focus-visible,[data-peridot-open]:focus-visible {outline:3px solid #1762a0;outline-offset:3px;}
.peridot-capture-error {color:#8b1520;}
.peridot-capture .peridot-capture-disclosure {font-size:.875rem;}
.peridot-capture-cta {margin:20px 0;padding:12px 0;}
.peridot-capture-cta a {color:#222;text-decoration:underline;display:inline-flex;align-items:center;min-height:44px;}
.peridot-capture-form.loading .peridot-capture-submit {cursor:wait;}
.peridot-capture-home {margin-bottom:20px;}
.peridot-capture:target:not([open]) {display:block;position:relative;}
@media (prefers-reduced-motion:reduce) {.peridot-capture,.peridot-capture * {animation:none!important;transition:none!important;}}

.peridot-capture-home a {color:#222;text-decoration:underline;display:inline-flex;align-items:center;min-height:44px;}

/* Footer signup disclosure: scoped to the existing footer form. */
.peridot-footer-signup {font-size:14px;line-height:1.55;}
.peridot-footer-signup .peridot-footer-note {font-size:14px;margin:0 0 12px;}
.peridot-footer-label {display:block;margin-bottom:6px;font-weight:600;}
.peridot-footer-form input,.peridot-footer-form button {min-height:44px;}
.peridot-footer-details {margin:0 0 4px;}
.peridot-footer-details summary {cursor:pointer;min-height:44px;display:list-item;padding:10px 0;}
.peridot-footer-details p {font-size:14px;margin:4px 0 12px;}
.peridot-footer-manage {display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;}
.peridot-footer-signup :focus-visible {outline:3px solid #1762a0;outline-offset:3px;}

.peridot-footer-form button {background:#222;color:#fff;border-color:#222;}
