body.pr-page {
    background: #f4f5f7 !important;
    display: block !important;
    text-align: left !important;
    color: #1d1d1b;
}

.pr-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem 6rem;
    font-family: "Rockwell", "Rockwell Nova", "Roboto Slab", Georgia, serif;
}

.pr-wrap--tool {
    max-width: 1240px;
}

.pr-crumb {
    margin: 0 0 0.6rem;
    font-size: 0.92rem;
    color: #555;
}

.pr-crumb a {
    color: #C90C0F;
    text-decoration: none;
    font-weight: 700;
}

.pr-crumb a:hover {
    text-decoration: underline;
}

.pr-wrap h1 {
    color: #C90C0F;
    font-size: 2rem;
    margin: 0 0 0.5rem;
    text-transform: none;
}

.pr-wrap h1 i {
    color: #FAB719;
    margin-right: 0.4rem;
}

.pr-lead {
    color: #444;
    max-width: 46rem;
    margin: 0 0 1.6rem;
    line-height: 1.5;
}

.pr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.15rem;
}

.pr-card {
    background: #fff;
    border: 3px solid #C90C0F;
    border-radius: 14px;
    padding: 1.2rem 1.25rem 1.15rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.pr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 12, 15, 0.15);
}

.pr-card-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 8px;
    background: #C90C0F;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.pr-card h2 {
    margin: 0.2rem 0 0;
    color: #C90C0F;
    font-size: 1.2rem;
    text-transform: none;
}

.pr-card p {
    margin: 0;
    color: #555;
    line-height: 1.45;
    font-size: 0.95rem;
    flex: 1 1 auto;
}

.pr-card-meta {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #C90C0F;
}

.pr-workspace {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.pr-editor {
    background: #fff;
    border: 3px solid #C90C0F;
    border-radius: 14px;
    padding: 1rem 1.05rem 1.15rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pr-editor fieldset {
    border: 0;
    margin: 0 0 1rem;
    padding: 0;
}

.pr-editor legend,
.pr-field label {
    display: block;
    font-weight: 700;
    color: #1d1d1b;
    margin-bottom: 0.45rem;
}

.pr-choice {
    display: block;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.55rem 0.7rem 0.55rem 2rem;
    margin-bottom: 0.45rem;
    position: relative;
    cursor: pointer;
    background: #fff;
    color: #1d1d1b;
}

.pr-choice:has(input:checked) {
    border-color: #C90C0F;
    background: #fff8f8;
}

.pr-choice input {
    position: absolute;
    left: 0.65rem;
    top: 0.75rem;
}

.pr-choice span {
    display: block;
    font-weight: 700;
}

.pr-choice small {
    display: block;
    color: #555;
    font-size: 0.82rem;
    line-height: 1.3;
}

.pr-field {
    margin-bottom: 0.9rem;
}

.pr-field input[type="text"] {
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    font-size: 1rem;
    font-family: inherit;
    color: #1d1d1b;
    background: #fff;
}

.pr-field input[type="text"]:focus {
    outline: none;
    border-color: #C90C0F;
}

.pr-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    color: #1d1d1b;
    font-weight: 600;
    cursor: pointer;
}

.pr-check input {
    margin-top: 0.2rem;
}

.pr-actions {
    margin-top: 1rem;
}

.pr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid #C90C0F;
}

.pr-btn-primary {
    background: #C90C0F;
    color: #fff;
}

.pr-btn-primary:hover,
.pr-btn-primary:focus {
    background: #a50a0c;
    color: #fff;
    border-color: #a50a0c;
}

.pr-preview-col {
    min-width: 0;
    overflow: hidden;
}

.pr-preview-meta {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.55rem;
}

.pr-preview-stage {
    background: #d9dde3;
    border-radius: 14px;
    padding: 1rem;
    overflow: hidden;
    min-height: 320px;
    width: 100%;
    max-width: 100%;
}

.pr-preview-scale {
    transform-origin: top left;
}

.pr-preview-stage .ttg-page {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    margin: 0 auto;
}

@media (max-width: 860px) {
    .pr-workspace {
        grid-template-columns: 1fr;
    }
}
