:root {
    --pv-bg: #f5f6f7;
    --pv-panel: #ffffff;
    --pv-side: #191c1f;
    --pv-side-soft: #24282c;
    --pv-text: #202428;
    --pv-muted: #747b83;
    --pv-border: #e1e4e7;
    --pv-accent: #14b8ce;
    --pv-accent-dark: #087d8f;
    --pv-danger-bg: #fff0f0;
    --pv-danger: #aa3d3d;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--pv-bg);
    color: var(--pv-text);
}

.pv-auth-shell {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(320px, 38%)
        1fr;
}

.pv-auth-brand {
    min-height: 100vh;

    padding:
        42px
        48px;

    display: flex;
    flex-direction: column;

    background: var(--pv-side);
    color: #fff;
}

.pv-auth-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 14px;
    font-weight: 700;
}

.pv-auth-mark {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 8px;

    background: var(--pv-side-soft);

    color: var(--pv-accent);

    font-size: 16px;
}

.pv-auth-brand-copy {
    margin: auto 0;

    max-width: 420px;
}

.pv-auth-kicker {
    margin-bottom: 12px;

    color: var(--pv-accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.pv-auth-brand-copy h1 {
    margin: 0;

    max-width: 370px;

    font-size: 34px;
    line-height: 1.12;

    letter-spacing: -.035em;
}

.pv-auth-brand-copy p {
    margin:
        18px
        0
        0;

    max-width: 380px;

    color: #b8c0c7;

    font-size: 13px;
    line-height: 1.7;
}

.pv-auth-dev {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 24px;

    padding:
        7px
        9px;

    width: max-content;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 6px;

    color: #c7d0d6;

    font-size: 10px;
}

.pv-auth-dev::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--pv-accent);
}

.pv-auth-brand-footer {
    color: #8f979f;

    font-size: 10px;
}

.pv-auth-main {
    min-height: 100vh;

    display: grid;
    place-items: center;

    padding: 40px;
}

.pv-auth-card {
    width: 100%;
    max-width: 390px;
}

.pv-auth-card h2 {
    margin: 0;

    font-size: 25px;
    line-height: 1.2;

    letter-spacing: -.025em;
}

.pv-auth-subtitle {
    margin:
        8px
        0
        26px;

    color: var(--pv-muted);

    font-size: 12px;
    line-height: 1.6;
}

.pv-auth-alert {
    margin-bottom: 18px;

    padding:
        10px
        12px;

    border:
        1px solid
        #f0cccc;

    border-radius: 6px;

    background: var(--pv-danger-bg);

    color: var(--pv-danger);

    font-size: 11px;
    line-height: 1.5;
}

.pv-auth-field {
    margin-bottom: 16px;
}

.pv-auth-field label {
    display: block;

    margin-bottom: 6px;

    color: #596169;

    font-size: 11px;
    font-weight: 600;
}

.pv-auth-input-wrap {
    position: relative;
}

.pv-auth-field input {
    width: 100%;
    height: 42px;

    padding:
        0
        12px;

    border:
        1px solid
        var(--pv-border);

    border-radius: 6px;

    outline: none;

    background: var(--pv-panel);

    color: var(--pv-text);

    font: inherit;
    font-size: 12px;
}

.pv-auth-field input:focus {
    border-color: #9edfe8;

    box-shadow:
        0 0 0 3px
        rgba(20,184,206,.08);
}

.pv-auth-password {
    padding-right: 66px !important;
}

.pv-auth-toggle {
    position: absolute;

    top: 50%;
    right: 8px;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: var(--pv-muted);

    cursor: pointer;

    font-size: 10px;
    font-weight: 600;
}

.pv-auth-submit {
    width: 100%;
    height: 42px;

    margin-top: 4px;

    border: 0;
    border-radius: 6px;

    background: var(--pv-accent);

    color: #fff;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;
}

.pv-auth-submit:hover {
    background: var(--pv-accent-dark);
}

.pv-auth-note {
    margin-top: 18px;

    padding-top: 16px;

    border-top:
        1px solid
        var(--pv-border);

    color: var(--pv-muted);

    font-size: 10px;
    line-height: 1.6;
}

@media (max-width: 820px) {

    .pv-auth-shell {
        grid-template-columns: 1fr;
    }

    .pv-auth-brand {
        min-height: auto;

        padding:
            24px
            24px
            28px;
    }

    .pv-auth-brand-copy {
        margin-top: 48px;
    }

    .pv-auth-brand-copy h1 {
        font-size: 28px;
    }

    .pv-auth-brand-footer {
        display: none;
    }

    .pv-auth-main {
        min-height: auto;

        padding:
            42px
            24px;
    }
}
