/* Acid–base titration and pH (/titration-ph): the apparatus and the titration curve in one picture on a focus stage with the
   six tiles in the floating panel beside it (docs/app-kit.md). Tiles, panels and buttons come from the app kit (css/app-kit,
   docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.tph-landing-app .tph-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drag along the curve to set the volume added; the script sets the cursor. */
.tph-landing-app .tph-canvas {
    display: block;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ak-radius, 8px);
    background: #e4ebf2;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

:root[data-theme="dark"] .tph-landing-app .tph-canvas,
.tph-landing-app[data-theme="dark"] .tph-canvas {
    background: #151d2e;
}

/* The answer to the challenge: a short number field. */
.tph-landing-app [data-ak-field="guess"] {
    max-width: 9rem;
}

/* Phones: a square picture. */
@media (max-width: 640px) {
    .tph-landing-app .tph-canvas {
        aspect-ratio: 1 / 1;
    }
}
