body.auth-body {
    --auth-canvas: var(--premium-canvas);
    --auth-line: var(--premium-line);
    --auth-muted: var(--color-text-muted);
    --auth-foil: #e2d6af;
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background: radial-gradient(ellipse at 50% 38%, var(--premium-paper), transparent 70%), var(--auth-canvas);
}
.auth-entry { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; min-height: 100dvh; padding: 28px clamp(18px, 4vw, 64px) 44px; }
.auth-book { --auth-turn-duration: 720ms; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(1120px, 100%); border: 1px solid var(--auth-line); border-radius: 12px; background: var(--premium-paper); box-shadow: 0 2px 0 var(--auth-canvas), 0 3px 0 var(--auth-line), 0 6px 0 var(--premium-paper), 0 7px 0 var(--auth-line), 0 24px 65px color-mix(in srgb, var(--premium-ink) 8%, transparent); perspective: 2400px; isolation: isolate; }
.auth-book::before { content: ""; position: absolute; inset: 18px auto 18px 50%; width: 1px; background: var(--auth-line); pointer-events: none; }
.auth-book__pages { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 650px; }
.auth-book__panel { grid-row: 1; display: flex; align-items: center; min-width: 0; padding: 38px clamp(28px, 4.2vw, 64px); opacity: 1; transition: opacity 180ms ease; }
.auth-book__panel--register { grid-column: 1; }
.auth-book__panel--login { grid-column: 2; }
.auth-book__panel[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.auth-book__form-content { width: 100%; max-width: 360px; margin: 0 auto; }
.auth-book__section-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--premium-green-dark); font-size: .55rem; font-weight: 650; letter-spacing: .14em; line-height: 1.5; }
.auth-book__section-mark > span { width: 28px; height: 1px; background: var(--auth-line); }
.auth-book h1 { margin: 0; color: var(--premium-ink); font-family: var(--font-display); font-size: clamp(2rem, 3.1vw, 2.8rem); font-weight: 400; line-height: 1.15; letter-spacing: -.055em; text-wrap: pretty; }
.auth-book h1:focus { outline: none; }
.auth-book__intro { margin: 10px 0 24px; color: var(--auth-muted); font-size: .86rem; line-height: 1.65; }
.auth-book__form { display: grid; gap: 15px; margin: 0; }
.auth-book .auth-input-group { position: relative; margin: 0; }
.auth-book .auth-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 8px; color: var(--premium-ink); font-size: .82rem; font-weight: 550; letter-spacing: 0; text-transform: none; }
.auth-book .auth-label > span { color: var(--auth-muted); font-size: .68rem; font-weight: 400; }
.auth-book .auth-input-wrap { position: relative; width: 100%; }
.auth-book .auth-input { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--auth-line); border-radius: 5px; outline: none; background: color-mix(in srgb, var(--auth-canvas) 40%, var(--premium-paper)); color: var(--premium-ink); font-family: var(--font-family); font-size: .95rem; line-height: 1.4; box-shadow: none; transition: border-color 160ms, box-shadow 160ms, background 160ms; }
.auth-book .auth-input::placeholder { color: var(--auth-muted); opacity: .75; }
.auth-book .auth-input:hover { border-color: var(--premium-line-strong); }
.auth-book .auth-input:focus { border-color: var(--premium-green); background: var(--premium-paper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--premium-green) 10%, transparent); }
.auth-book .auth-input--password { padding-right: 48px; }
.auth-book .auth-input--error { border-color: var(--premium-coral); }
.auth-book .auth-password-toggle { position: absolute; top: 50%; right: 2px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 4px; background: transparent; color: var(--auth-muted); font-size: .8rem; cursor: pointer; }
.auth-book .auth-password-toggle:hover { background: var(--auth-canvas); color: var(--premium-green); }
.auth-book .auth-field-error { display: none; min-height: 0; margin: 6px 0 0; color: var(--premium-coral); font-size: .75rem; line-height: 1.5; }
.auth-book .auth-field-error--visible { display: block; }
.auth-book .auth-check { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--auth-muted); font-size: .8rem; line-height: 1.6; }
.auth-book .auth-check label { cursor: pointer; }
.auth-book .auth-check input[type="checkbox"] { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: var(--premium-green-dark); cursor: pointer; }
.auth-book__remember, .auth-book__consent { padding: 1px 0; }
.auth-book .auth-submit { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; margin: 0; padding: 12px 40px; border: 1px solid var(--premium-green-dark); border-radius: 5px; background: var(--premium-green-dark); color: var(--premium-paper); box-shadow: none; font-size: .82rem; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background 160ms, box-shadow 160ms; }
.auth-book .auth-submit:hover { background: var(--premium-green); border-color: var(--premium-green); transform: none; box-shadow: 0 3px 10px color-mix(in srgb, var(--premium-green) 12%, transparent); }
.auth-book .auth-submit:disabled { cursor: wait; opacity: .7; }
.auth-book .auth-submit > .fas { position: absolute; right: 17px; font-size: .75rem; }
.auth-book__alternative { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--auth-line); color: var(--auth-muted); font-size: .8rem; line-height: 1.6; }
.auth-book__alternative a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: var(--premium-green-dark); font-weight: 600; text-decoration: none; }
.auth-book__alternative a:hover { text-decoration: underline; text-underline-offset: 4px; }
.auth-book__alternative a .fas { font-size: .6rem; }
.auth-book__alert { padding: 11px 13px; margin-bottom: 18px; border: 1px solid color-mix(in srgb, var(--premium-coral) 35%, var(--premium-paper)); border-radius: 5px; background: color-mix(in srgb, var(--premium-coral) 5%, var(--premium-paper)); color: var(--premium-coral); font-size: .8rem; line-height: 1.5; }
.auth-book__status { min-height: 0; margin: 0; color: var(--premium-green); font-size: .8rem; line-height: 1.5; }
.auth-book__status:empty { display: none; }
.auth-book__leaf { position: absolute; inset: -1px auto -1px -1px; width: calc(50% + 1px); z-index: 2; pointer-events: none; transform-origin: 100% 50%; transform-style: preserve-3d; transition: transform var(--auth-turn-duration) cubic-bezier(.65,.05,.25,1); }
.auth-book[data-mode="register"] .auth-book__leaf { transform: rotateY(180deg); }
.auth-book__cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 35px 40px 25px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--premium-green-dark) 70%, var(--premium-ink)); border-radius: 11px 0 0 11px; color: var(--auth-foil); background: radial-gradient(ellipse at 75% 20%, color-mix(in srgb, var(--premium-green) 60%, var(--premium-green-dark)), transparent 65%), var(--premium-green-dark); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: inset -16px 0 25px -20px var(--premium-ink), 5px 0 15px color-mix(in srgb, var(--premium-ink) 8%, transparent); }
.auth-book__cover::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--auth-foil) 17%, transparent); border-radius: 3px 0 0 3px; pointer-events: none; }
.auth-book__cover::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.45' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.auth-book__cover--discover { transform: rotateY(180deg); border-radius: 0 11px 11px 0; background: radial-gradient(ellipse at 20% 20%, var(--premium-navy-2), transparent 70%), var(--premium-navy); }
.auth-book__cover--discover::before { border-radius: 0 3px 3px 0; }
.auth-book__edition { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--auth-foil); font-size: .55rem; font-weight: 550; letter-spacing: .2em; }
.auth-book__edition > span:last-child { font-size: 1.7rem; font-weight: 400; line-height: 1; }
.auth-book__cover-copy { position: relative; z-index: 1; margin-top: 28px; }
.auth-book__cover-copy h2 { margin: 0; color: var(--premium-paper); font-family: var(--font-display); font-size: clamp(4.4rem, 7.3vw, 6.8rem); font-weight: 400; letter-spacing: -.065em; line-height: .9; text-wrap: initial; }
.auth-book__cover-copy h2 em { color: var(--auth-foil); font-weight: 400; }
.auth-book__cover-copy p { margin: 24px 0 0; color: var(--premium-paper); opacity: .72; font-size: .84rem; font-weight: 400; letter-spacing: 0; line-height: 1.7; }
.auth-book__globe { position: relative; z-index: 1; align-self: flex-end; width: 235px; margin: -25px -7px -2px 0; color: var(--auth-foil); opacity: .65; transform: rotate(-14deg); }
.auth-atlas { display: block; width: 100%; height: auto; }
.auth-book__cover-caption { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--auth-foil) 25%, transparent); color: var(--auth-foil); font-size: .47rem; font-weight: 500; letter-spacing: .1em; line-height: 1.6; }
.auth-book__cover-caption > span:last-child > span { margin-left: 5px; font-size: .7rem; }
.auth-entry :is(a, button, input):focus-visible { outline: 3px solid var(--premium-green); outline-offset: 3px; }
@media (min-width: 761px) and (max-width: 1000px) {
    .auth-book__panel { padding: 35px 30px; }
    .auth-book__pages { min-height: 630px; }
    .auth-book__cover { padding: 32px 28px 24px; }
    .auth-book__globe { width: 225px; }
    .auth-book__cover-copy h2 { font-size: 5rem; }
    .auth-book__cover-caption { display: grid; }
}
@media (max-width: 760px) {
    .auth-entry { justify-content: flex-start; gap: 17px; padding: 16px 18px 30px; }
    .auth-book { display: flex; flex-direction: column; width: min(460px, 100%); border-radius: 10px; }
    .auth-book::before { content: none; }
    .auth-book__pages { order: 1; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .auth-book__panel { grid-column: 1; grid-row: 1; padding: 28px; transition: none; }
    .auth-book__panel[aria-hidden="true"] { display: none; }
    .auth-book__panel[aria-hidden="false"] { display: block; }
    .auth-book__form-content { max-width: none; }
    .auth-book__section-mark { display: none; }
    .auth-book h1 { font-size: 2rem; }
    .auth-book__intro { margin: 9px 0 23px; font-size: .77rem; }
    .auth-book__form { gap: 15px; }
    .auth-book .auth-input { font-size: 16px; }
    .auth-book .auth-check label { display: flex; align-items: center; min-height: 32px; }
    .auth-book__alternative { margin-top: 21px; padding-top: 15px; }
    .auth-book__alternative a { min-height: 44px; }
    .auth-book__leaf { position: relative; inset: auto; order: 0; flex: 0 0 174px; width: calc(100% + 2px); height: 174px; margin: -1px -1px 0; transform-origin: 50% 50%; }
    .auth-book__cover, .auth-book__cover--discover { padding: 22px 28px; border-radius: 10px 10px 0 0; }
    .auth-book__cover::before, .auth-book__cover--discover::before { border-radius: 2px 2px 0 0; }
    .auth-book__edition { font-size: .47rem; }
    .auth-book__edition > span:last-child { font-size: 1.1rem; }
    .auth-book__cover-copy { margin: 10px 0 0; }
    .auth-book__cover-copy h2 { font-size: 3.4rem; line-height: .9; }
    .auth-book__cover-copy p, .auth-book__cover-caption { display: none; }
    .auth-book__globe { position: absolute; right: -20px; bottom: -48px; width: 215px; margin: 0; opacity: .22; }
}
@media (max-width: 360px) {
    .auth-entry { padding-inline: 12px; }
    .auth-book__panel { padding: 25px 22px; }
    .auth-book__cover { padding-inline: 22px; }
    .auth-book h1 { font-size: 1.85rem; }
    .auth-book__globe { right: -45px; }
    .auth-book .auth-label > span { font-size: .64rem; }
}
html[data-roo-motion="paused"] .auth-book *, html[data-roo-motion="paused"] .auth-book *::before { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { .auth-book *, .auth-book *::before { transition: none !important; animation: none !important; } }
