.tp-lab-shell {
    max-width: 1120px;
    margin: 48px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.tp-lab-login-shell {
    max-width: 560px;
}

.tp-lab-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.tp-lab-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .58;
    margin-bottom: 8px;
}

.tp-lab-shell h1,
.tp-lab-shell h2,
.tp-lab-shell p {
    margin-top: 0;
}

.tp-lab-shell h1 {
    margin-bottom: 10px;
}

.tp-lab-lead {
    opacity: .72;
    margin-bottom: 28px;
}

.tp-lab-form {
    display: grid;
    gap: 12px;
}

.tp-lab-form label {
    font-size: 14px;
    font-weight: 650;
    margin-top: 5px;
}

.tp-lab-form input[type="text"],
.tp-lab-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .18);
    background: #fff;
    font: inherit;
}

.tp-lab-form input:focus {
    outline: 2px solid rgba(37, 99, 235, .25);
    border-color: rgba(37, 99, 235, .6);
}

.tp-lab-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 500 !important;
    margin: 4px 0 8px;
}

.tp-lab-primary,
.tp-lab-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.tp-lab-primary {
    border: 0;
    background: #111827;
    color: #fff;
}

.tp-lab-secondary {
    border: 1px solid rgba(15, 23, 42, .16);
    color: inherit;
    background: #fff;
}

.tp-lab-login-links {
    margin-top: 18px;
    font-size: 14px;
}

.tp-lab-alert {
    background: rgba(185, 28, 28, .08);
    border: 1px solid rgba(185, 28, 28, .18);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.tp-lab-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.tp-lab-userbox {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tp-lab-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.tp-lab-placeholder {
    min-height: 120px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(248, 250, 252, .72);
}

.tp-lab-placeholder strong {
    font-size: 28px;
}

@media (max-width: 800px) {
    .tp-lab-placeholder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tp-lab-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .tp-lab-card {
        padding: 22px;
        border-radius: 16px;
    }

    .tp-lab-placeholder-grid {
        grid-template-columns: 1fr;
    }

    .tp-lab-userbox {
        width: 100%;
        justify-content: space-between;
    }
}


.tp-lab-shell {
    color: #ffffff;
}

.tp-lab-topbar,
.tp-lab-topbar h1,
.tp-lab-topbar .tp-lab-kicker,
.tp-lab-userbox,
.tp-lab-userbox span {
    color: #ffffff;
}

.tp-lab-card,
.tp-lab-card h1,
.tp-lab-card h2,
.tp-lab-card h3,
.tp-lab-card p,
.tp-lab-card label,
.tp-lab-card span,
.tp-lab-card strong,
.tp-lab-card div,
.tp-lab-card li {
    color: #0f172a;
}

.tp-lab-kicker {
    color: rgba(255,255,255,.78);
}

.tp-lab-login-card .tp-lab-kicker {
    color: rgba(15, 23, 42, .58);
}

.tp-lab-lead,
.tp-lab-login-links,
.tp-lab-login-links a {
    color: #334155;
}

.tp-lab-secondary,
.tp-lab-secondary:visited {
    color: #0f172a;
}

.tp-lab-primary,
.tp-lab-primary:visited {
    color: #ffffff;
}

.tp-lab-placeholder {
    background: #f8fafc;
    color: #0f172a;
}

.tp-lab-placeholder span,
.tp-lab-placeholder strong {
    color: #0f172a;
}

.tp-lab-placeholder strong {
    line-height: 1;
}

.tp-lab-form input[type="text"],
.tp-lab-form input[type="password"] {
    color: #0f172a;
}

.tp-lab-form input[type="text"]::placeholder,
.tp-lab-form input[type="password"]::placeholder {
    color: #64748b;
}
