/* One Phone Account Login · v316 contact export worldbooks */
html.one-auth-locked,
body.one-auth-locked {
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body.one-auth-standalone {
    margin: 0;
    min-height: 100svh;
    background: #f7f8f8;
    color: #343941;
    font-family: var(--one-global-font-family, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif);
}
.one-auth-page {
    --one-auth-primary-height: 46px;
    --one-auth-field-gap: 12px;
    --one-auth-last-field-to-button-gap: 18px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: var(--one-shell-lock-height, var(--one-layout-vh, 100svh));
    min-height: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(24px, calc(env(safe-area-inset-top) + 18px)) 24px max(24px, calc(env(safe-area-inset-bottom) + 18px), calc(var(--one-visual-bottom-gap, 0px) + 18px));
    box-sizing: border-box;
    background: rgba(226, 230, 232, 0.56);
    color: #343941;
    font-family: var(--one-global-font-family, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transition: opacity 0.24s ease;
}
.one-auth-page.show {
    display: flex;
    opacity: 1;
}
.one-auth-bg-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 52% 18%, rgba(255,255,255,0.58), transparent 30%),
        radial-gradient(circle at 18% 88%, rgba(196,207,213,0.28), transparent 34%),
        linear-gradient(180deg, rgba(250,251,251,0.68), rgba(238,242,243,0.52));
}
.one-auth-shell {
    position: relative;
    z-index: 1;
    width: min(88vw, 326px);
    max-height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.one-auth-card {
    width: 100%;
    max-width: 326px;
    max-height: calc(var(--one-shell-lock-height, var(--one-layout-vh, 100svh)) - max(48px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom) + 36px)));
    border-radius: 22px;
    background: rgba(255,255,255,0.94);
    border: 0;
    box-shadow: 0 16px 48px rgba(35, 39, 46, 0.12);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.26s cubic-bezier(0.22, 0.74, 0.22, 1), opacity 0.22s ease;
}
.one-auth-page.show .one-auth-card {
    transform: translateY(0) scale(1);
}
.one-auth-card::after {
    content: 'ACCESS';
    color: rgba(52, 56, 65, 0.105);
}
.one-auth-modal-content {
    padding: 24px 20px 18px;
    gap: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.one-auth-mark {
    margin: 0 0 -2px;
    text-align: center;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(52, 57, 65, 0.42);
}
.one-auth-mark i {
    font-style: italic;
    margin-left: 6px;
}
.one-auth-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -2px 0 0;
}
.one-auth-ornament span {
    width: 24px;
    height: 1px;
    background: rgba(150, 158, 168, 0.34);
}
.one-auth-ornament i {
    width: 4px;
    height: 4px;
    transform: rotate(45deg);
    background: rgba(150, 158, 168, 0.44);
}
.one-auth-ornament-lower {
    display: none;
}
.one-auth-ornament-bottom {
    margin: 4px 0 0;
}
.one-auth-head {
    display: grid;
    gap: 7px;
    text-align: center;
    margin: 0 0 2px;
}
.one-auth-kicker,
.one-auth-head p:last-child {
    margin: 0;
    color: #87909D;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.one-auth-head h1 {
    margin: 0;
    color: #343941;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.2;
    font-style: italic;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.one-auth-panel-stack {
    position: relative;
    min-height: var(--one-auth-panel-height, 186px);
    transition: min-height 0.34s cubic-bezier(.2,.7,.2,1);
}
.one-auth-form {
    display: grid;
    gap: var(--one-auth-field-gap);
    align-content: start;
    align-self: start;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0 0 auto;
    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.26s ease;
}
.one-auth-form.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    transform: translateY(0);
}
.one-auth-form.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
}
.one-auth-page.is-switching .one-auth-card {
    transform: translateY(0) scale(0.995);
}
.one-auth-field {
    display: grid;
    gap: 7px;
    color: #A0A7B1;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.one-auth-field input {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #FAFBFC;
    padding: 11px 13px;
    outline: none;
    color: #4F5864;
    font-family: var(--one-global-font-family, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif);
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    appearance: none;
    -webkit-appearance: none;
}
.one-auth-field input::placeholder {
    color: #AEB4BE;
}
.one-auth-field input:focus {
    background: #FFFFFF;
    border-color: rgba(17, 17, 17, 0.36);
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.055);
}
.one-auth-field-with-cancel {
    position: relative;
}
.one-auth-cancel-account {
    justify-self: end;
    margin-top: -1px;
    border: 0;
    background: transparent;
    padding: 0;
    color: #A0A7B1;
    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.10em;
    appearance: none;
    -webkit-appearance: none;
}
.one-auth-form > .one-auth-last-field {
    margin-bottom: calc(var(--one-auth-last-field-to-button-gap) - var(--one-auth-field-gap));
}
.one-auth-primary {
    width: 100%;
    height: var(--one-auth-primary-height);
    min-height: var(--one-auth-primary-height);
    border: 0;
    border-radius: 16px;
    background: #111111;
    color: #FFFFFF;
    font-family: var(--one-global-font-family, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif);
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.16em;
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
}
.one-auth-primary:active {
    transform: scale(0.985);
    opacity: 0.92;
}
.one-auth-link-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 18px;
    margin-top: 1px;
}
.one-auth-link-row button {
    border: 0;
    background: transparent;
    padding: 0;
    color: #87909D;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.06em;
    appearance: none;
    -webkit-appearance: none;
}
.one-auth-link-row em {
    width: 1px;
    height: 10px;
    background: rgba(150, 158, 168, 0.26);
}
.one-auth-admin-row {
    margin-top: -2px;
}
.one-auth-cloud-note {
    padding: 12px 0;
    border-top: 1px solid rgba(150, 158, 168, 0.26);
    border-bottom: 1px solid rgba(150, 158, 168, 0.26);
    color: #87909D;
    font-size: 12px;
    line-height: 1.75;
    letter-spacing: 0.06em;
}
.one-auth-note,
.one-auth-toast {
    margin: 0;
    min-height: 17px;
    color: #87909D;
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: 0.08em;
    text-align: center;
}
.one-auth-toast {
    min-height: 18px;
}
.one-auth-toast.is-error {
    color: #A84540;
}
.one-auth-toast.is-success {
    color: #7CA58E;
}
@media (max-height: 640px) {
    .one-auth-modal-content {
        padding-top: 20px;
        padding-bottom: 16px;
        gap: 12px;
    }
    .one-auth-head {
        gap: 6px;
    }
    .one-auth-ornament-bottom {
        display: none;
    }
}
