.pp-fact-modal{width:100%;max-width:560px;max-height:92vh;padding:0;border:1px solid var(--pp-border, #E4DDD0);border-radius:18px;background:var(--pp-surface, #FBF9F5);color:var(--pp-ink, #0B1F33);box-shadow:0 24px 60px -12px #0b1f3359;overflow:hidden}.pp-fact-modal [hidden]{display:none!important}.pp-fact-modal::backdrop{background:#0b1f338c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.pp-fact-modal__inner{display:flex;flex-direction:column;max-height:92vh}.pp-fact-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--pp-border, #E4DDD0);background:#fff;flex-shrink:0}.pp-fact-modal__title{margin:0;font-family:var(--pp-font-display, inherit);font-size:18px;font-weight:700;color:var(--pp-ink, #0B1F33)}.pp-fact-modal__close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--pp-muted, #5E6B7A);cursor:pointer;flex-shrink:0;transition:background .14s ease,color .14s ease}.pp-fact-modal__close svg{width:20px;height:20px}.pp-fact-modal__close:hover{background:var(--pp-surface-2, #F3EFE7);color:var(--pp-ink, #0B1F33)}.pp-fact-modal__loading{display:flex;flex-direction:column;align-items:center;gap:14px;padding:56px 20px;color:var(--pp-muted, #5E6B7A)}.pp-fact-modal__spinner{width:34px;height:34px;border-radius:50%;border:3px solid var(--pp-border, #E4DDD0);border-top-color:var(--pp-primary, #0E3A5C);animation:pp-fact-spin .7s linear infinite}@keyframes pp-fact-spin{to{transform:rotate(360deg)}}.pp-fact-modal__spinner--sm{width:16px;height:16px;border-width:2px;flex-shrink:0}.pp-fact-modal__notice{display:flex;align-items:center;gap:10px;margin:0;padding:12px 14px;font-size:13px;line-height:1.5;border-radius:10px;border:1px solid var(--pp-border, #E4DDD0);background:var(--pp-surface-2, #F3EFE7);color:var(--pp-ink, #0B1F33)}.pp-fact-modal__notice--warn{background:#b8791f1a;border-color:#b8791f4d;color:var(--pp-ink, #0B1F33);font-weight:600}.pp-fact-modal__notice--error{background:var(--pp-danger-bg, #FCE9E6);border-color:var(--pp-danger-border, #F0C2BB);color:var(--pp-danger, #B23A2E)}.pp-fact-modal__profiles-loading{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--pp-muted, #5E6B7A)}.pp-fact-modal__profiles-error{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:14px;border:1px dashed var(--pp-border, #E4DDD0);border-radius:12px}.pp-fact-modal__profiles-error p{margin:0;font-size:13px;color:var(--pp-muted, #5E6B7A)}.pp-fact-modal__body{padding:20px;overflow-y:auto;display:flex;flex-direction:column;gap:22px}.pp-fact-modal__section-title{margin:0 0 12px;font-family:var(--pp-font-mono, ui-monospace, monospace);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--pp-primary, #0E3A5C)}.pp-fact-modal__meta{display:flex;flex-wrap:wrap;gap:8px 24px;margin-bottom:12px}.pp-fact-modal__meta-item{display:flex;flex-direction:column;gap:2px}.pp-fact-modal__meta-label{font-family:var(--pp-font-mono, monospace);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--pp-muted, #5E6B7A)}.pp-fact-modal__meta-value{font-size:15px;font-weight:700}.pp-fact-modal__table-wrap{overflow-x:auto;border:1px solid var(--pp-border, #E4DDD0);border-radius:12px}.pp-fact-modal__table{width:100%;border-collapse:collapse;font-size:13px}.pp-fact-modal__table th,.pp-fact-modal__table td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--pp-border, #E4DDD0)}.pp-fact-modal__table thead th{font-family:var(--pp-font-mono, monospace);font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:var(--pp-muted, #5E6B7A);background:var(--pp-surface-2, #F3EFE7)}.pp-fact-modal__table tbody tr:last-child td{border-bottom:0}.pp-fact-modal__num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pp-fact-modal__profiles{display:flex;flex-direction:column;gap:10px}.pp-fact-modal__profile{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1.5px solid var(--pp-border, #E4DDD0);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .14s ease,background .14s ease}.pp-fact-modal__profile:hover{border-color:var(--pp-primary, #0E3A5C)}.pp-fact-modal__profile:has(.pp-fact-modal__profile-radio:checked){border-color:var(--pp-primary, #0E3A5C);background:var(--pp-primary-soft, #E8EFF5)}.pp-fact-modal__profile:has(.pp-fact-modal__profile-radio:focus-visible){outline:2px solid var(--pp-primary, #0E3A5C);outline-offset:2px}.pp-fact-modal__profile-radio{width:20px;height:20px;flex-shrink:0;accent-color:var(--pp-primary, #0E3A5C)}.pp-fact-modal__profile-txt{display:flex;flex-direction:column;gap:2px;min-width:0}.pp-fact-modal__profile-main{font-size:15px;font-weight:600}.pp-fact-modal__profile-sub{font-size:12px;color:var(--pp-muted, #5E6B7A);font-family:var(--pp-font-mono, monospace)}.pp-fact-modal__noprofile{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--pp-warning-border, #E7C98B);border-radius:12px;background:var(--pp-warning-bg, #FBF3E0)}.pp-fact-modal__noprofile svg{width:22px;height:22px;color:var(--pp-warning, #B7791F);flex-shrink:0;margin-top:2px}.pp-fact-modal__noprofile strong{display:block;font-size:15px;margin-bottom:2px}.pp-fact-modal__noprofile p{margin:0 0 12px;font-size:13px;color:var(--pp-muted, #5E6B7A)}.pp-fact-modal__payment{display:flex;flex-direction:column;gap:6px}.pp-fact-modal__label{font-size:13px;font-weight:600}.pp-fact-modal__select{width:100%;padding:12px 14px;font-size:16px;border:1.5px solid var(--pp-border, #E4DDD0);border-radius:10px;background:#fff;color:var(--pp-ink, #0B1F33)}.pp-fact-modal__hint{font-size:12px;color:var(--pp-muted, #5E6B7A)}.pp-fact-modal__error{margin:0;padding:12px 14px;font-size:14px;border-radius:10px;background:var(--pp-danger-bg, #FCE9E6);color:var(--pp-danger, #B23A2E);border:1px solid var(--pp-danger-border, #F0C2BB)}.pp-fact-modal__foot{display:flex;gap:10px;padding:16px 20px;border-top:1px solid var(--pp-border, #E4DDD0);background:#fff;flex-shrink:0}.pp-fact-modal__btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;font-family:inherit;font-size:15px;font-weight:600;border-radius:999px;border:1.5px solid transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.pp-fact-modal__btn--primary{background:var(--pp-primary, #0E3A5C);color:#fff;flex:1}.pp-fact-modal__btn--primary:hover:not(:disabled){background:var(--pp-primary-deep, #082740)}.pp-fact-modal__btn--primary:disabled{opacity:.5;cursor:not-allowed}.pp-fact-modal__btn--ghost{background:transparent;border-color:var(--pp-border, #E4DDD0);color:var(--pp-ink, #0B1F33)}.pp-fact-modal__btn--ghost:hover{background:var(--pp-surface-2, #F3EFE7)}.pp-fact-modal__btn:focus-visible{outline:2px solid var(--pp-primary, #0E3A5C);outline-offset:2px}.pp-fact-modal__success{padding:32px 24px;text-align:center}.pp-fact-modal__success-title{margin:0 0 8px;font-family:var(--pp-font-display, inherit);font-size:22px;font-weight:700}.pp-fact-modal__success-body{margin:0 auto 20px;max-width:40ch;font-size:14px;color:var(--pp-muted, #5E6B7A)}.pp-fact-modal__success-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:16px}.pp-fact-modal__success-actions{margin-top:4px}@media(max-width:600px){.pp-fact-modal{max-width:100%;width:100%;max-height:94vh;margin:0;position:fixed;inset:auto 0 0 0;border-radius:18px 18px 0 0;border-bottom:0}.pp-fact-modal__inner{max-height:94vh}.pp-fact-modal__foot{position:sticky;bottom:0}}@media(prefers-reduced-motion:reduce){.pp-fact-modal__spinner{animation-duration:1.6s}.pp-fact-modal__btn,.pp-fact-modal__profile,.pp-fact-modal__close{transition:none}}.pp-por-facturar__row-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.pp-por-facturar__row-help{font-size:12px;color:var(--pp-muted, #5E6B7A);text-decoration:underline;text-underline-offset:2px;transition:color .14s ease}.pp-por-facturar__row-help:hover{color:var(--pp-primary, #0E3A5C)}[data-pp-factura-emitida] .pp-por-facturar__row-actions{opacity:.5;pointer-events:none}.pp-fiscal__invoices-head{display:flex;flex-direction:column;gap:2px;margin-bottom:16px}.pp-fiscal__invoices-head .pp-stats__chart-title{margin:0}.pp-fiscal__invoices-scope-sub{margin:0;font-size:12px;font-weight:600;color:var(--pp-muted, #5E6B7A)}.pp-fiscal__invoices-state{margin:8px 0;font-size:14px;color:var(--pp-muted, #5E6B7A)}.pp-fiscal__invoice-dl{display:flex;gap:8px;flex-shrink:0}.pp-fiscal__dl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;font-family:inherit;font-size:13px;font-weight:600;border-radius:999px;border:1.5px solid var(--pp-border, #E4DDD0);background:#fff;color:var(--pp-primary, #0E3A5C);cursor:pointer;transition:border-color .14s ease,background .14s ease}.pp-fiscal__dl-btn:hover:not(:disabled){border-color:var(--pp-primary, #0E3A5C);background:var(--pp-surface-2, #F3EFE7)}.pp-fiscal__dl-btn:disabled{opacity:.5;cursor:default}.pp-fiscal__dl-btn:focus-visible{outline:2px solid var(--pp-primary, #0E3A5C);outline-offset:2px}.pp-autofactura__head{display:flex;align-items:center;justify-content:space-between;gap:24px}.pp-autofactura__text{flex:1;min-width:0}.pp-autofactura__sub{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--pp-muted, #5E6B7A)}.pp-fiscal__profiles-desc,.pp-fiscal__invoices-intro{margin:6px 0 14px;font-size:13px;line-height:1.5;color:var(--pp-muted, #5E6B7A)}.pp-autofactura__state{margin:12px 0 0;font-size:13px;font-weight:600;color:var(--pp-muted, #5E6B7A)}.pp-toggle{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer}.pp-toggle__input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;margin:0;cursor:pointer}.pp-toggle__input:disabled{cursor:not-allowed}.pp-toggle__track{display:inline-block;width:48px;height:28px;border-radius:999px;background:var(--pp-border, #E4DDD0);transition:background .18s ease}.pp-toggle__thumb{display:block;width:22px;height:22px;margin:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0b1f3340;transition:transform .18s ease}.pp-toggle__input:checked+.pp-toggle__track{background:var(--pp-primary, #0E3A5C)}.pp-toggle__input:checked+.pp-toggle__track .pp-toggle__thumb{transform:translate(20px)}.pp-toggle__input:disabled+.pp-toggle__track{opacity:.5}.pp-toggle__input:focus-visible+.pp-toggle__track{outline:2px solid var(--pp-primary, #0E3A5C);outline-offset:2px}@media(prefers-reduced-motion:reduce){.pp-toggle__track,.pp-toggle__thumb{transition:none}}
/*# sourceMappingURL=/cdn/shop/t/113/assets/pp-factura-modal.css.map */
