/* Magazine Cutout Letters landing (/magazine-cutout-letters) */

.cutout-landing-app {
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.cutout-landing-stage {
    position: relative;
    background: #6090C8;
    overflow: hidden;
    min-height: 240px;
    min-width: 0;
    max-width: 100%;
}

.cutout-landing-stage[data-paper="color"] {
    background: var(--cutout-bg, #6090C8);
}

.cutout-landing-stage[data-paper="transparent"] {
    background-color: var(--component-checker-bg);
    background-image: repeating-conic-gradient(var(--component-checker-square) 0deg 90deg, var(--component-checker-bg) 90deg 180deg);
    background-size: var(--component-square-size) var(--component-square-size);
}

.cutout-canvas {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 400px;
    max-height: 58vh;
    box-sizing: border-box;
}

.cutout-landing-stage[data-paper="image"] {
    place-items: center;
}

.cutout-landing-stage[data-paper="image"] .cutout-canvas {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

body.filter-app-mode .cutout-landing-stage:not([data-paper="image"]) .cutout-canvas {
    width: 100%;
    height: 100%;
    max-height: none;
}

body.filter-app-mode .cutout-landing-stage[data-paper="image"] .cutout-canvas {
    max-width: 100%;
    max-height: 100%;
}

.cutout-check-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.cutout-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.15rem 0 0.25rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--main-200);
}

.cutout-check input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
}

.cutout-text {
    width: 100%;
    min-height: 4.0rem;
    resize: vertical;
    font: inherit;
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.15);
}

.cutout-control-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 22rem;
}

.cutout-control-row .filter-landing-controls-label {
    flex: 0 0 auto;
    margin: 0;
}

.cutout-control-row .fractal-landing-select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}

.cutout-font-row[hidden] {
    display: none;
}

.cutout-landing-controls {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.cutout-landing-app .filter-landing-actions-3,
.cutout-landing-app .filter-landing-actions-2 {
    min-width: 0;
    max-width: 100%;
}

.cutout-landing-app .filter-landing-actions-3 .landing-cta,
.cutout-landing-app .filter-landing-actions-2 .landing-cta {
    min-width: 0;
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
}
