:root {
    color-scheme: dark;
    --page-bg: #0c0c0c;
    --surface: #171c27;
    --surface-hover: #202938;
    --border: rgba(190, 203, 226, 0.16);
    --border-hover: rgba(111, 215, 194, 0.72);
    --text: #e6f2f4;
    --text-muted: #a1adbf;
    --accent: #6fd7c2;
    --content-width: 1120px;
    --page-gutter: clamp(14px, 3vw, 34px);
    --shell-top-space: clamp(12px, 2.5vh, 24px);
    --shell-bottom-space: clamp(12px, 2vh, 20px);
    --grid-gap: clamp(12px, 1.8vw, 20px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--page-bg);
}

body {
    font-size: 3rem;
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background:
            radial-gradient(ellipse at 50% -18%, rgba(75, 114, 151, 0.20), transparent 50%),
            var(--page-bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.landing-shell {
    width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width));
    min-height: 100vh;
    min-height: 100svh;
    margin-inline: auto;
    padding-block: var(--shell-top-space) var(--shell-bottom-space);
    display: flex;
    flex-direction: column;
}

/* The logo uses only the space it needs. The tool area receives the rest. */
.brand-block {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(300px, 82vw);
    max-height: clamp(44px, 9vh, 82px);
    object-fit: contain;
}

.tools-section {
    flex: 1 0 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: clamp(12px, 2vh, 22px);
}

.horizontal-divider {
    flex: 0 0 1px;
    height: 1px;
    margin: 0 0 clamp(12px, 2vh, 20px);
    background: linear-gradient(90deg, transparent, rgba(224, 232, 241, 0.46), transparent);
}

/* Default: two large tool tiles that stretch to use the available height. */
.tool-grid,
.tool-grid-jumbo-tron,
.tool-grid-by-3 {
    flex: 1 0 auto;
    min-height: 0;
    display: grid;
    gap: var(--grid-gap);
    align-items: stretch;
    grid-auto-rows: minmax(180px, 1fr);
}

.tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Optional layout variants retained for pages that use these class names. */
.tool-grid-jumbo-tron {
    grid-template-columns: minmax(0, 1fr);
}

.tool-grid-by-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-tile {
    position: relative;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid var(--border);
    border-radius: clamp(14px, 1.8vw, 22px);
    background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 72%),
            var(--surface);
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-tile:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    background-color: var(--surface-hover);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.tool-tile:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.tool-tile-icon {
    width: clamp(132px, 15vw, 180px);
    height: clamp(132px, 15vw, 180px);
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    margin: 0 0 clamp(14px, 2vh, 22px);
    border: 1px solid rgba(111, 215, 194, 0.24);
    border-radius: 15px;
    background: rgba(111, 215, 194, 0.09);
    color: var(--accent);
    font-size: clamp(5.25rem, 9vw, 7.5rem);
    line-height: 1;
}

.tool-tile-title {
    max-width: calc(100% - 28px);
    font-size: clamp(4.05rem, 7.2vw, 6rem);
    font-weight: 680;
    letter-spacing: -0.035em;
    line-height: 1.18;
    text-wrap: balance;
}

.tool-tile-desc {
    max-width: 42rem;
    margin-top: clamp(8px, 1.2vh, 13px);
    color: var(--text-muted);
    font-size: clamp(3rem, 4.5vw, 3.75rem);
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.tool-tile-arrow {
    position: absolute;
    top: clamp(54px, 7.5vw, 84px);
    right: clamp(54px, 7.5vw, 84px);
    color: #8997ad;
    font-size: clamp(3.75rem, 6vw, 4.8rem);
    line-height: 1;
    transition: color 160ms ease, transform 160ms ease;
}

.tool-tile:hover .tool-tile-arrow {
    transform: translate(2px, -2px);
    color: var(--accent);
}




/* Login layout: consistent with the ProductLab landing page. */
.login-layout {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    width: 100%;
    max-width: none;
    margin: clamp(24px, 5vh, 48px) 0;
}

.login-intro {
    min-width: 0;
}

.login-intro h1 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 680;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.login-intro p {
    max-width: 38rem;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
}

/* A subdued panel matching the existing tool tiles. */
.login-panel {
    min-width: 0;
    padding: clamp(22px, 2.5vw, 32px);
    border: 1px solid var(--border);
    border-radius: clamp(14px, 1.8vw, 22px);
    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.035),
                    transparent 72%
            ),
            var(--surface);
}

.login-panel h2 {
    margin: 0 0 22px;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.login-panel form {
    display: grid;
    gap: 10px;
}

.login-panel label {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 550;
}

.login-panel input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(12, 12, 12, 0.55);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.login-panel input::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

.login-panel input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-color: var(--accent);
}

.login-panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--accent);
    color: var(--page-bg);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.3;
    cursor: pointer;
    transition:
            background-color 160ms ease,
            transform 160ms ease,
            box-shadow 160ms ease;
}

.login-panel button:hover {
    background: #8be4d2;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.login-panel button:active {
    transform: translateY(1px);
}

.login-panel button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.login-panel .forgot-password {
    justify-self: end;
    margin-top: -2px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 160ms ease;
}

.login-panel .forgot-password:hover {
    color: var(--accent);
    text-decoration: underline;
}

.login-panel .forgot-password:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}






/* status layout: consistent with the ProductLab landing page. */
.status-layout {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    width: 100%;
    max-width: none;
    margin: clamp(24px, 5vh, 48px) 0;
}

.status-intro {
    min-width: 0;
}

.status-intro h1 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 680;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.status-intro p {
    max-width: 38rem;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
}

/* A subdued panel matching the existing tool tiles. */
.status-panel {
    min-width: 0;
    padding: clamp(22px, 2.5vw, 32px);
    border: 1px solid var(--border);
    border-radius: clamp(14px, 1.8vw, 22px);
    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.035),
                    transparent 72%
            ),
            var(--surface);
}

.status-panel h2 {
    margin: 0 0 22px;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.status-panel form {
    display: grid;
    gap: 10px;
}

.status-panel label {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 550;
}

.status-panel input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(12, 12, 12, 0.55);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.status-panel input::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

.status-panel input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-color: var(--accent);
}

.status-panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--accent);
    color: var(--page-bg);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.3;
    cursor: pointer;
    transition:
            background-color 160ms ease,
            transform 160ms ease,
            box-shadow 160ms ease;
}

.status-panel button:hover {
    background: #8be4d2;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.status-panel button:active {
    transform: translateY(1px);
}

.status-panel button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.status-panel .forgot-password {
    justify-self: end;
    margin-top: -2px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 160ms ease;
}

.status-panel .forgot-password:hover {
    color: var(--accent);
    text-decoration: underline;
}

.status-panel .forgot-password:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}


/* dash layout: consistent with the ProductLab landing page. */
.dash-layout {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    width: 100%;
    max-width: none;
    margin: clamp(24px, 5vh, 48px) 0;
}

.dash-intro {
    min-width: 0;
}

.dash-intro h1 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 680;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.dash-intro p {
    max-width: 38rem;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
}

/* A subdued panel matching the existing tool tiles. */
.dash-panel {
    min-width: 0;
    padding: clamp(22px, 2.5vw, 32px);
    border: 1px solid var(--border);
    border-radius: clamp(14px, 1.8vw, 22px);
    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.035),
                    transparent 72%
            ),
            var(--surface);
}

.dash-panel h2 {
    margin: 0 0 22px;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.dash-panel form {
    display: grid;
    gap: 10px;
}

.dash-panel label {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 550;
}

.dash-panel input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(12, 12, 12, 0.55);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.dash-panel input::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

.dash-panel input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-color: var(--accent);
}

.dash-panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--accent);
    color: var(--page-bg);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.3;
    cursor: pointer;
    transition:
            background-color 160ms ease,
            transform 160ms ease,
            box-shadow 160ms ease;
}

.dash-panel button:hover {
    background: #8be4d2;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.dash-panel button:active {
    transform: translateY(1px);
}

.dash-panel button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.dash-panel .forgot-password {
    justify-self: end;
    margin-top: -2px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color 160ms ease;
}

.dash-panel .forgot-password:hover {
    color: var(--accent);
    text-decoration: underline;
}

.dash-panel .forgot-password:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}


.empty-state {
    min-height: 100%;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 28px 20px;
    border: 1px dashed var(--border);
    border-radius: 16px;
    color: var(--text-muted);
    text-align: center;
}

/* Tablet: slightly larger copy and a two-column layout when there is room. */
@media (max-width: 760px) {
    :root {
        --page-gutter: clamp(14px, 3vw, 24px);
        --grid-gap: 12px;
    }

    .landing-shell {
        width: calc(100% - 2 * var(--page-gutter));
    }

    .tool-grid-by-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-tile {
        padding: clamp(18px, 3.5vw, 28px);
    }

    .tool-tile-title {
        font-size: clamp(4.65rem, 11.1vw, 6.3rem);
    }

    .tool-tile-desc {
        font-size: clamp(3.3rem, 7.5vw, 4.35rem);
    }
}

/* Phone: stack tiles, increase text, and divide the remaining height evenly. */
@media (max-width: 520px) {
    :root {
        --page-gutter: 12px;
        --shell-top-space: 12px;
        --shell-bottom-space: 12px;
        --grid-gap: 10px;
    }

    .landing-shell {
        width: calc(100% - 2 * var(--page-gutter));
    }

    .brand-logo {
        max-width: min(260px, 78vw);
        max-height: clamp(42px, 8vh, 66px);
    }

    .tools-section {
        margin-top: 12px;
    }

    .horizontal-divider {
        margin-bottom: 10px;
    }

    .tool-grid,
    .tool-grid-jumbo-tron,
    .tool-grid-by-3 {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: minmax(0, 1fr);
        gap: 10px;
    }

    .tool-tile {
        padding: clamp(18px, 5.5vw, 28px);
        border-radius: 16px;
    }

    .tool-tile-icon {
        width: 156px;
        height: 156px;
        margin-bottom: clamp(12px, 2vh, 18px);
        border-radius: 14px;
        font-size: 6.75rem;
    }

    .tool-tile-title {
        max-width: calc(100% - 30px);
        font-size: clamp(5.4rem, 21.6vw, 7.5rem);
        line-height: 1.12;
    }

    .tool-tile-desc {
        margin-top: 10px;
        font-size: clamp(3.6rem, 14.4vw, 4.8rem);
        line-height: 1.38;
    }

    .tool-tile-arrow {
        top: 54px;
        right: 54px;
        font-size: 4.5rem;
    }
}

/* Very short landscape viewports still fill the screen, but allow scrolling if needed. */
@media (max-height: 520px) and (min-width: 521px) {
    :root {
        --shell-top-space: 8px;
        --shell-bottom-space: 8px;
    }

    .brand-logo {
        max-height: 42px;
    }

    .tools-section {
        margin-top: 8px;
    }

    .horizontal-divider {
        margin-bottom: 8px;
    }

    .tool-tile {
        padding: 16px 20px;
    }

    .tool-tile-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Desktop and tablet: compact tiles with bounded row heights. */
@media (min-width: 521px) {
    .tools-section {
        flex: 0 0 auto;
    }

    .tool-grid,
    .tool-grid-jumbo-tron,
    .tool-grid-by-3 {
        flex: 0 0 auto;
        grid-auto-rows: clamp(150px, 12.5svh, 180px);
        align-content: start;
    }

    .tool-tile {
        min-height: 0;
        padding: 12px 16px;
        border-radius: 10px;
        justify-content: center;
    }

    .tool-tile-icon {
        width: clamp(36px, 4vw, 56px);
        height: clamp(36px, 4vw, 56px);
        margin-bottom: 7px;
        border-radius: 7px;
        font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    }

    .tool-tile-title {
        max-width: calc(100% - 24px);
        font-size: clamp(1.1rem, 2vw, 1.6rem);
        line-height: 1.2;
    }

    .tool-tile-desc {
        margin-top: 4px;
        font-size: clamp(0.8rem, 1.15vw, 0.95rem);
        line-height: 1.35;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .tool-tile-arrow {
        top: 14px;
        right: 14px;
        font-size: 1.2rem;
    }

    .empty-state {
        min-height: 0;
        padding: 14px;
        font-size: 1rem;
    }
}

/* Mobile only: halve tool tile dimensions and typography. */
@media (max-width: 520px) {
    .tool-tile {
        padding: clamp(9px, 2.75vw, 14px);
        border-radius: 8px;
    }

    .tool-tile-icon {
        width: 78px;
        height: 78px;
        margin-bottom: clamp(6px, 1vh, 9px);
        border-radius: 7px;
        font-size: 3.375rem;
    }

    .tool-tile-title {
        max-width: calc(100% - 15px);
        font-size: clamp(2.7rem, 10.8vw, 3.75rem);
        line-height: 1.12;
    }

    .tool-tile-desc {
        margin-top: 5px;
        font-size: clamp(1.8rem, 7.2vw, 2.4rem);
        line-height: 1.38;
    }

    .tool-tile-arrow {
        top: 27px;
        right: 27px;
        font-size: 2.25rem;
    }

    .tool-grid,
    .tool-grid-jumbo-tron,
    .tool-grid-by-3 {
        gap: 5px;
    }
}

/* Mobile only: halve tool-tile dimensions again. */
@media (max-width: 520px) {
    .tool-tile {
        padding: clamp(4.5px, 1.375vw, 7px);
        border-radius: 4px;
    }

    .tool-tile-icon {
        width: 39px;
        height: 39px;
        margin-bottom: clamp(3px, 0.5vh, 4.5px);
        border-radius: 3.5px;
        font-size: 1.6875rem;
    }

    .tool-tile-title {
        max-width: calc(100% - 7.5px);
        font-size: clamp(1.35rem, 5.4vw, 1.875rem);
        line-height: 1.12;
    }

    .tool-tile-desc {
        margin-top: 2.5px;
        font-size: clamp(0.9rem, 3.6vw, 1.2rem);
        line-height: 1.38;
    }

    .tool-tile-arrow {
        top: 13.5px;
        right: 13.5px;
        font-size: 1.125rem;
    }

    .tool-grid,
    .tool-grid-jumbo-tron,
    .tool-grid-by-3 {
        gap: 2.5px;
    }
}

/* Mobile only: increase spacing BETWEEN tool tiles. */
@media (max-width: 520px) {
    .tool-grid,
    .tool-grid-jumbo-tron,
    .tool-grid-by-3 {
        gap: 32px;
    }
}

/* Double the logo size while preserving its aspect ratio. */
.brand-logo {
    width: min(480px, 100%);
    height: auto;
    max-width: 100%;
    max-height: clamp(88px, 18vh, 164px);
    object-fit: contain;
}

@media (max-width: 520px) {
    .brand-logo {
        width: min(480px, 100%);
        max-height: clamp(84px, 16vh, 132px);
    }
}

@media (max-width: 760px) {
    .login-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-block: 24px;
    }
}

/* Tablet and mobile */
@media (max-width: 760px) {
    .login-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-block: 24px;
    }

    .login-intro h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .login-panel {
        padding: clamp(20px, 4vw, 28px);
    }
}

/* Narrow phones */
@media (max-width: 520px) {
    .login-layout {
        gap: 18px;
        margin-block: 18px;
    }

    .login-intro h1 {
        font-size: 1.8rem;
    }

    .login-intro p {
        font-size: 1rem;
    }

    .login-panel {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-panel input,
    .login-panel button {
        transition: none;
    }
}

/* Center status information when there is no action panel. */
.status-layout.status-layout--centered {
    flex: 1 0 auto;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: center;
    text-align: center;
    margin-block: 0;
}

.status-layout--centered .status-intro {
    width: 100%;
    max-width: 52rem;
    margin-inline: auto;
}

.status-layout--centered .status-intro h1,
.status-layout--centered .status-intro p {
    margin-inline: auto;
    text-align: center;
}

.status-layout--centered .status-intro p {
    max-width: 100%;
}

.status-layout--centered .status-panel {
    display: none;
}

/* Status page: stack the information and action panel on mobile. */
@media (max-width: 760px) {
    .status-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        width: 100%;
        margin-block: 24px;
        align-items: start;
    }

    .status-intro {
        width: 100%;
        min-width: 0;
    }

    .status-intro h1,
    .status-intro p {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .status-panel {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .status-layout .status-intro {
        text-align: center;
    }

    .status-layout .status-intro h1,
    .status-layout .status-intro p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}