.screen-custom-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.screen-custom-options legend { padding: 0; margin-bottom: 14px; font: 500 27px/1.15 "Playfair Display", serif; }
.screen-custom-sizes, .screen-custom-colors, .screen-custom-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.screen-custom-sizes label { flex: 1 1 120px; }
.screen-custom-options label { position: relative; }
.screen-custom-options input, .screen-custom-file {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.screen-custom-options label > span {
    display: grid;
    gap: 3px;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}
.screen-custom-options label > span > span { color: var(--muted); font-size: 12px; }
.screen-custom-options input:checked + span { border-color: var(--forest); background: #f4eef2; }
.screen-custom-options input:focus-visible + span,
.screen-custom-file:focus-visible + .crop-editor { outline: 2px solid var(--forest); outline-offset: 3px; }
.screen-custom-backs { margin-top: 20px; }
.screen-custom-colors label > span { display: flex; align-items: center; gap: 7px; min-height: 44px; }
.screen-custom-colors i { width: 17px; height: 17px; border: 1px solid #b8b3b6; border-radius: 50%; background: #fff; }
.screen-custom-colors i[data-color="black"] { background: #242428; }
.screen-custom-frame {
    position: absolute;
    box-shadow: 0 0 0 1px #fff, 0 0 0 1600px rgb(30 24 31 / .55);
    background: linear-gradient(to right, transparent calc(100% - 1px), rgb(255 255 255 / .66) 0) 0 0 / 25% 100%;
    cursor: move;
    touch-action: none;
}
.screen-custom-frame:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.screen-custom-order .has-source .custom-order-placeholder { display: none; }
.screen-custom-order .custom-order-editor { touch-action: pan-y pinch-zoom; }
.screen-custom-edit { margin-top: 12px; color: var(--muted); font-size: 13px; }
.screen-custom-edit p { margin: 0 0 10px; }
.screen-custom-zoom { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.screen-custom-zoom input { flex: 1; min-width: 0; accent-color: var(--forest); }
.screen-custom-tools { margin-top: 8px; }
.screens .screen-custom-tools .button {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    background: white;
    color: var(--forest);
    font-size: 12px;
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
}
.screens .screen-custom-tools .button:hover { background: #f4eef2; }
.screen-custom-order .custom-order-actions { flex-direction: column; }
.screen-custom-feedback { margin: 8px 0 0; color: var(--forest); font-size: 13px; }
.screen-custom-feedback[data-error] { color: #952c3b; }
.screen-custom-order .custom-size-result { flex-direction: row; align-items: center; }
