@import "https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400;0,600;1,400;1,600&family=Onest:wght@400;500;600;700;800&display=swap";.fc-autofactura{background:var(--fc-cream);min-height:100svh}.fc-autofactura__brandbar{justify-content:space-between;align-items:center;gap:var(--space-lg);width:min(100% - clamp(2rem,7vw,7rem),76rem);min-height:5rem;margin:0 auto;display:flex}.fc-autofactura__brandbar a{align-items:center;min-height:2.75rem;display:inline-flex}.fc-autofactura__brandbar .fc-brand{--fc-brand-size:2.5rem}.fc-autofactura__brandbar p{color:color-mix(in oklch, var(--fc-ink) 58%, transparent);letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:700}.fc-autofactura__page{width:min(100% - clamp(2rem,7vw,7rem),76rem);margin:0 auto}.fc-autofactura__intro{row-gap:var(--space-md);max-width:52rem;padding:clamp(2.75rem,5vw,4.5rem) 0 clamp(2.5rem,4vw,3.5rem);animation:.62s cubic-bezier(.22,1,.36,1) both fc-autofactura-reveal;display:grid}.fc-autofactura__intro h1{max-width:12ch;font-size:clamp(3.25rem,8vw,6.5rem);font-weight:400;line-height:.94}.fc-autofactura__intro>p:last-child{max-width:46ch;color:var(--fc-ink-soft);font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.65}.fc-autofactura__layout{grid-template-columns:minmax(18rem,.8fr) minmax(0,1.35fr);align-items:start;gap:clamp(2rem,5vw,5rem);padding-bottom:clamp(4rem,8vw,7rem);animation:.68s cubic-bezier(.22,1,.36,1) .1s both fc-autofactura-reveal;display:grid}.fc-autofactura__summary{position:sticky;top:1.5rem}.fc-autofactura-summary{gap:var(--space-xl);border:1px solid color-mix(in oklch, var(--fc-ink) 92%, transparent);background:var(--fc-ink);color:var(--fc-cream);border-radius:.65rem;padding:clamp(1.5rem,4vw,2.25rem);display:grid;overflow:hidden}.fc-autofactura-summary__topline{justify-content:space-between;align-items:center;gap:var(--space-md);padding-bottom:var(--space-lg);border-bottom:1px solid color-mix(in oklch, var(--fc-cream) 20%, transparent);color:var(--fc-accent-tint);letter-spacing:.16em;text-transform:uppercase;font-size:.68rem;font-weight:700;display:flex}.fc-autofactura-summary__topline span{color:color-mix(in oklch, var(--fc-cream) 48%, transparent)}.fc-autofactura-summary__service{gap:var(--space-sm);display:grid}.fc-autofactura-summary__service h2{max-width:18ch;color:var(--fc-cream);letter-spacing:-.045em;font-family:Besley,serif;font-size:clamp(1.65rem,3.5vw,2.5rem);font-weight:400;line-height:1.06}.fc-autofactura-summary__service p{max-width:42ch;color:color-mix(in oklch, var(--fc-cream) 64%, transparent);font-size:.88rem;line-height:1.65}.fc-autofactura-summary__details{gap:0;margin:0;display:grid}.fc-autofactura-summary__details>div{justify-content:space-between;align-items:baseline;gap:var(--space-lg);padding:var(--space-sm) 0;border-top:1px solid color-mix(in oklch, var(--fc-cream) 13%, transparent);font-size:.8rem;display:flex}.fc-autofactura-summary__details dt{color:color-mix(in oklch, var(--fc-cream) 50%, transparent)}.fc-autofactura-summary__details dd{color:var(--fc-cream);text-align:right;margin:0;font-weight:600}.fc-autofactura-summary__total{gap:var(--space-sm);padding-top:var(--space-lg);border-top:1px solid color-mix(in oklch, var(--fc-cream) 28%, transparent);display:grid}.fc-autofactura-summary__total p{color:color-mix(in oklch, var(--fc-cream) 54%, transparent);font-size:.72rem}.fc-autofactura-summary__total strong{overflow-wrap:anywhere;color:var(--fc-accent-tint);letter-spacing:-.065em;font-size:clamp(2.4rem,5vw,4.5rem);font-weight:700;line-height:.95}.fc-autofactura__form{border:1px solid color-mix(in oklch, var(--fc-ink) 22%, transparent);background:var(--fc-paper)}.fc-autofactura-section{gap:clamp(1.75rem,4vw,2.5rem);padding:clamp(1.5rem,4vw,2.75rem);display:grid}.fc-autofactura-section+.fc-autofactura-section{border-top:1px solid color-mix(in oklch, var(--fc-ink) 18%, transparent)}.fc-autofactura-section__header{align-items:start;gap:var(--space-md);grid-template-columns:2.25rem minmax(0,1fr);display:grid}.fc-autofactura-section__header>span{border:1px solid color-mix(in oklch, var(--fc-ink) 30%, transparent);width:2.25rem;height:2.25rem;color:var(--fc-accent-strong);border-radius:999px;justify-content:center;align-items:center;font-size:.74rem;font-weight:700;display:inline-flex}.fc-autofactura-section__header div{gap:var(--space-xs);display:grid}.fc-autofactura-section__header h2{color:var(--fc-ink);letter-spacing:-.035em;font-family:Onest,sans-serif;font-size:clamp(1.25rem,2.5vw,1.6rem);font-weight:700;line-height:1.15}.fc-autofactura-section__header p{max-width:56ch;color:color-mix(in oklch, var(--fc-ink) 62%, transparent);font-size:.88rem;line-height:1.55}.fc-autofactura-fields,.fc-autofactura-field,.fc-autofactura-tax,.fc-autofactura-tax__manual{display:grid}.fc-autofactura-fields{gap:var(--space-lg)}.fc-autofactura-fields--split{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-autofactura-field{gap:var(--space-xs);min-width:0}.fc-autofactura-field label,.fc-autofactura-upload__heading p{color:var(--fc-ink);font-size:.78rem;font-weight:700;line-height:1.35}.fc-autofactura-field input,.fc-autofactura-field select{border:1px solid color-mix(in oklch, var(--fc-ink) 24%, transparent);background:var(--fc-cream);width:100%;min-height:3.35rem;color:var(--fc-ink);border-radius:.35rem;padding:0 .9rem;font-family:inherit;font-size:1rem;line-height:1.3;transition:border-color .18s,background-color .18s,box-shadow .18s}.fc-autofactura-field select{padding-right:2.25rem}.fc-autofactura-field input::placeholder{color:color-mix(in oklch, var(--fc-ink) 42%, transparent)}.fc-autofactura-field input:hover,.fc-autofactura-field select:hover{border-color:color-mix(in oklch, var(--fc-ink) 48%, transparent)}.fc-autofactura-field input:focus-visible,.fc-autofactura-field select:focus-visible{border-color:var(--fc-accent);outline:3px solid color-mix(in oklch, var(--fc-accent) 20%, transparent);outline-offset:1px;box-shadow:none}.fc-autofactura-field input[aria-invalid=true]{border-color:oklch(54% .19 22)}.fc-autofactura-field__required{color:var(--fc-accent-strong);margin-left:.2rem}.fc-autofactura-field__help,.fc-autofactura-field__error{align-items:flex-start;gap:var(--space-xs);color:color-mix(in oklch, var(--fc-ink) 56%, transparent);font-size:.73rem;line-height:1.5;display:flex}.fc-autofactura-field__error{color:oklch(48% .17 22)}.fc-autofactura-field__normalized{align-items:center;gap:var(--space-2xs);background:color-mix(in oklch, var(--fc-green) 16%, var(--fc-paper));color:oklch(42% .12 154);text-transform:uppercase;border-radius:999px;padding:.28rem .5rem;font-size:.62rem;font-weight:700;display:inline-flex;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.fc-autofactura-concept{gap:var(--space-xs);padding:var(--space-md);border:1px solid color-mix(in oklch, var(--fc-accent) 22%, transparent);background:color-mix(in oklch, var(--fc-accent-tint) 20%, var(--fc-paper));display:grid}.fc-autofactura-concept p{color:var(--fc-accent-strong);letter-spacing:.12em;text-transform:uppercase;font-size:.65rem;font-weight:700}.fc-autofactura-concept strong{color:var(--fc-ink);font-size:.84rem;font-weight:600;line-height:1.55}.fc-autofactura-profiles{gap:var(--space-md);padding-top:var(--space-lg);border-top:1px solid color-mix(in oklch, var(--fc-ink) 14%, transparent);display:grid}.fc-autofactura-profiles h3{font-size:.86rem;font-weight:700}.fc-autofactura-profiles__list{gap:var(--space-sm);display:grid}.fc-autofactura-profile{justify-content:space-between;align-items:center;gap:var(--space-md);border:1px solid color-mix(in oklch, var(--fc-ink) 20%, transparent);background:var(--fc-cream);min-height:4.75rem;padding:var(--space-md);color:var(--fc-ink);text-align:left;border-radius:.35rem;transition:border-color .18s,background-color .18s;display:flex}.fc-autofactura-profile:hover,.fc-autofactura-profile[aria-pressed=true]{border-color:var(--fc-accent);background:color-mix(in oklch, var(--fc-accent-tint) 16%, var(--fc-paper))}.fc-autofactura-profile p{font-size:.86rem;font-weight:700}.fc-autofactura-profile div span{margin-top:var(--space-2xs);color:color-mix(in oklch, var(--fc-ink) 55%, transparent);font-size:.72rem;display:block}.fc-autofactura-profile__check{border:1px solid color-mix(in oklch, var(--fc-ink) 25%, transparent);border-radius:999px;flex:none;justify-content:center;align-items:center;width:1.5rem;height:1.5rem;display:inline-flex}.fc-autofactura-profile[aria-pressed=true] .fc-autofactura-profile__check{border-color:var(--fc-accent);background:var(--fc-accent);color:var(--fc-paper)}.fc-autofactura-profiles__manual{justify-content:flex-start;align-items:center;gap:var(--space-xs);min-height:2.75rem;color:var(--fc-accent-strong);font-size:.78rem;font-weight:700;display:inline-flex}.fc-autofactura-tax,.fc-autofactura-tax__manual{gap:var(--space-xl)}.fc-autofactura-divider{align-items:center;gap:var(--space-sm);color:color-mix(in oklch, var(--fc-ink) 48%, transparent);letter-spacing:.11em;text-transform:uppercase;grid-template-columns:1fr auto 1fr;font-size:.65rem;font-weight:700;display:grid}.fc-autofactura-divider span{background:color-mix(in oklch, var(--fc-ink) 14%, transparent);height:1px}.fc-autofactura-upload{gap:var(--space-sm);display:grid}.fc-autofactura-upload__heading{justify-content:space-between;align-items:baseline;gap:var(--space-md);display:flex}.fc-autofactura-upload__heading span{color:color-mix(in oklch, var(--fc-ink) 48%, transparent);font-size:.68rem}.fc-autofactura-upload__dropzone{align-items:center;gap:var(--space-md);border:1px dashed color-mix(in oklch, var(--fc-ink) 32%, transparent);background:var(--fc-cream);width:100%;min-height:5.5rem;padding:var(--space-md);color:var(--fc-ink);text-align:left;border-radius:.35rem;transition:border-color .18s,background-color .18s;display:flex}.fc-autofactura-upload__dropzone:hover,.fc-autofactura-upload__dropzone[data-drag-active=true]{border-color:var(--fc-accent);background:color-mix(in oklch, var(--fc-accent-tint) 12%, var(--fc-cream))}.fc-autofactura-upload__icon{background:color-mix(in oklch, var(--fc-accent-tint) 38%, var(--fc-paper));width:2.75rem;height:2.75rem;color:var(--fc-accent-strong);border-radius:999px;flex:none;justify-content:center;align-items:center;display:inline-flex}.fc-autofactura-upload__dropzone p{font-size:.84rem;font-weight:700}.fc-autofactura-upload__dropzone span{margin-top:var(--space-2xs);color:color-mix(in oklch, var(--fc-ink) 55%, transparent);font-size:.72rem;line-height:1.45;display:block}.fc-autofactura-upload__privacy,.fc-autofactura-upload__feedback{align-items:center;gap:var(--space-xs);color:color-mix(in oklch, var(--fc-ink) 52%, transparent);font-size:.7rem;line-height:1.45;display:flex}.fc-autofactura-upload__feedback[data-tone=success]{color:oklch(42% .12 154)}.fc-autofactura-upload__feedback[data-tone=error]{color:oklch(48% .17 22)}.fc-autofactura-saved-note{align-items:flex-start;gap:var(--space-sm);border:1px solid color-mix(in oklch, var(--fc-green) 30%, transparent);background:color-mix(in oklch, var(--fc-green) 10%, var(--fc-paper));padding:var(--space-md);color:var(--fc-ink-soft);font-size:.82rem;line-height:1.55;display:flex}.fc-autofactura-saved-note svg{color:oklch(45% .12 154);flex:none}.fc-autofactura-submit{gap:var(--space-sm);padding-top:var(--space-lg);border-top:1px solid color-mix(in oklch, var(--fc-ink) 16%, transparent);display:grid}.fc-autofactura-submit .fc-autofactura-submit__button{border:1px solid var(--fc-ink);background:var(--fc-ink);width:100%;min-height:3.5rem;color:var(--fc-cream);border-radius:999px;font-size:.9rem;font-weight:700;transition:background-color .18s,border-color .18s,transform .18s}.fc-autofactura-submit .fc-autofactura-submit__button:hover:not(:disabled){border-color:var(--fc-accent);background:var(--fc-accent);transform:translateY(-1px)}.fc-autofactura-submit .fc-autofactura-submit__button:disabled{border-color:color-mix(in oklch, var(--fc-ink) 12%, transparent);background:color-mix(in oklch, var(--fc-ink) 12%, var(--fc-paper));color:color-mix(in oklch, var(--fc-ink) 52%, transparent);opacity:1}.fc-autofactura__footer{padding:var(--space-xl) 0;border-top:1px solid color-mix(in oklch, var(--fc-ink) 14%, transparent);color:color-mix(in oklch, var(--fc-ink) 48%, transparent);text-align:center;font-size:.7rem}.fc-autofactura--loading,.fc-autofactura--status{grid-template-rows:auto 1fr;display:grid}.fc-autofactura__loading,.fc-autofactura__status-frame{justify-content:center;align-items:center;width:min(100% - 2rem,76rem);margin:0 auto;padding:clamp(3rem,8vw,7rem) 0;display:flex}.fc-autofactura__loading{gap:var(--space-md);color:var(--fc-ink-soft);font-size:.86rem;font-weight:600}.fc-autofactura__loading>span{border:2px solid color-mix(in oklch, var(--fc-ink) 18%, transparent);border-top-color:var(--fc-accent);border-radius:999px;width:1.5rem;height:1.5rem;animation:.7s linear infinite fc-autofactura-spin}.fc-autofactura-status{--fc-cream:#f2efe7;--fc-paper:oklch(98.5% .006 86);--fc-ink:oklch(18% .012 75);--fc-ink-soft:oklch(32% .016 75);--fc-accent-strong:var(--brand-accent-strong);--space-xs:.5rem;--space-sm:.75rem;--space-md:1rem;--space-xl:2rem;justify-items:start;gap:var(--space-xl);border:1px solid color-mix(in oklch, var(--fc-ink) 20%, transparent);background:var(--fc-paper);width:min(100%,43rem);color:var(--fc-ink);padding:clamp(2rem,6vw,4.5rem);font-family:Onest,sans-serif;animation:.62s cubic-bezier(.22,1,.36,1) both fc-autofactura-reveal;display:grid;position:relative}.fc-autofactura-status__icon{border:1px solid color-mix(in oklch, var(--fc-ink) 22%, transparent);width:3.5rem;height:3.5rem;color:var(--fc-accent-strong);border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.fc-autofactura-status[data-tone=success] .fc-autofactura-status__icon{color:oklch(43% .13 154);border-color:currentColor}.fc-autofactura-status[data-tone=error] .fc-autofactura-status__icon{color:oklch(50% .17 22);border-color:currentColor}.fc-autofactura-status__copy{gap:var(--space-md);display:grid}.fc-autofactura-status__copy h1{letter-spacing:-.055em;max-width:12ch;font-family:Besley,serif;font-size:clamp(2.75rem,7vw,5rem);font-weight:400;line-height:.98}.fc-autofactura-status__copy div{max-width:50ch;color:var(--fc-ink-soft);font-size:1rem;line-height:1.65}.fc-autofactura-status__actions{gap:var(--space-sm);grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.fc-autofactura-status__actions button{justify-content:center;align-items:center;gap:var(--space-xs);border-radius:999px;min-height:3.25rem;font-size:.82rem;font-weight:700;display:inline-flex}.fc-autofactura-status__actions .fc-autofactura-status__primary{background:var(--fc-ink);color:var(--fc-cream)}.fc-autofactura-status__actions .fc-autofactura-status__secondary{border:1px solid color-mix(in oklch, var(--fc-ink) 55%, transparent);color:var(--fc-ink);background:0 0}.fc-autofactura-status__link{align-items:center;gap:var(--space-xs);min-height:2.75rem;color:var(--fc-ink);text-decoration:underline;-webkit-text-decoration-color:color-mix(in oklch, var(--fc-ink) 30%, transparent);text-decoration-color:color-mix(in oklch, var(--fc-ink) 30%, transparent);text-underline-offset:.35rem;font-size:.78rem;font-weight:700;display:inline-flex}.fc-autofactura-status__signup{margin-top:var(--space-md);padding-top:var(--space-md);border-top:1px solid color-mix(in oklch, var(--fc-ink) 20%, transparent);grid-column:1/-1}.fc-autofactura-status__signup h2{letter-spacing:-.055em;font-family:Besley,serif;font-size:1.125rem;line-height:1.5}.fc-autofactura-status__signup p{margin-top:var(--space-xs);color:var(--fc-ink-soft);font-size:.875rem;line-height:1.6}.fc-autofactura-status[data-tone] :is(a,button):focus-visible{outline:2px solid var(--fc-accent-strong);outline-offset:4px}@keyframes fc-autofactura-reveal{0%{opacity:0;transform:translateY(1rem)}to{opacity:1;transform:translateY(0)}}@keyframes fc-autofactura-spin{to{transform:rotate(1turn)}}@media (width<=54rem){.fc-autofactura__brandbar,.fc-autofactura__page{width:min(100% - 2rem,42rem)}.fc-autofactura__layout{gap:var(--space-xl);grid-template-columns:minmax(0,1fr)}.fc-autofactura__summary{position:static}}@media (width<=40rem){.fc-autofactura__brandbar{min-height:4.5rem}.fc-autofactura__brandbar .fc-brand{--fc-brand-size:2.15rem}.fc-autofactura__brandbar p{text-align:right;max-width:12ch;font-size:.58rem;line-height:1.4}.fc-autofactura__intro{gap:var(--space-sm);padding:2.5rem 0 2rem}.fc-autofactura__intro h1{font-size:clamp(2.75rem,14vw,4.25rem)}.fc-autofactura__intro>p:last-child{font-size:.95rem;line-height:1.55}.fc-autofactura-summary{gap:var(--space-lg)}.fc-autofactura-summary__service h2{font-size:1.75rem}.fc-autofactura-summary__total strong{font-size:clamp(2.35rem,13vw,3.35rem)}.fc-autofactura-section{padding:1.35rem 1.15rem}.fc-autofactura-section__header{gap:var(--space-sm);grid-template-columns:2rem minmax(0,1fr)}.fc-autofactura-section__header>span{width:2rem;height:2rem}.fc-autofactura-fields--split,.fc-autofactura-status__actions{grid-template-columns:minmax(0,1fr)}.fc-autofactura-field input,.fc-autofactura-field select{min-height:3.5rem}.fc-autofactura-upload__dropzone{align-items:flex-start}.fc-autofactura-submit{padding-bottom:max(.25rem, env(safe-area-inset-bottom))}.fc-autofactura__footer{line-height:1.5}.fc-autofactura__status-frame{align-items:flex-start;padding:2rem 0}}@media (prefers-reduced-motion:reduce){.fc-autofactura__intro,.fc-autofactura__layout,.fc-autofactura-status{animation:none}}
