.techno-prayer-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--neon-border);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), transparent 48%),
        var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.techno-prayer-embed {
    width: 100%;
    min-height: 560px;
    display: block;
    margin-top: 18px;
    border: 0;
    background: transparent;
}

.techno-prayer-page-main {
    width: min(100% - 28px, 560px);
    margin: 0 auto;
    padding: 112px 0 96px;
}

.techno-prayer-page-card {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    background:
        var(--panel-light),
        var(--panel-aura),
        var(--card);
    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.techno-prayer-page-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, var(--neon-line), transparent) top / 100% 2px no-repeat,
        linear-gradient(120deg, transparent, var(--neon-sheen), transparent);
}

.techno-prayer-page-card h1 {
    margin-bottom: 18px;
}

.techno-prayer-page.is-embedded {
    min-height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.techno-prayer-page.is-embedded jaycee-banner,
.techno-prayer-page.is-embedded jaycee-footer,
.techno-prayer-page.is-embedded .techno-prayer-page-card > .eyebrow,
.techno-prayer-page.is-embedded .techno-prayer-page-card > h1 {
    display: none;
}

.techno-prayer-page.is-embedded .techno-prayer-page-main {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.techno-prayer-page.is-embedded .techno-prayer-page-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.techno-prayer-page.is-embedded .techno-prayer-page-card::after {
    content: none;
}

.techno-prayer-page.is-embedded .techno-prayer-form {
    margin-top: 0;
}

.techno-prayer-form label {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-weight: 700;
}

.techno-prayer-form input,
.techno-prayer-form textarea,
.techno-prayer-form select {
    width: 100%;
    border: 1px solid var(--field-border-soft);
    border-radius: 6px;
    background: var(--field-fill);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    line-height: 1.35;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.techno-prayer-form input,
.techno-prayer-form select {
    min-height: 42px;
    padding: 8px 10px;
}

.techno-prayer-form textarea {
    min-height: 92px;
    resize: vertical;
    padding: 10px 12px;
}

.techno-prayer-form input::placeholder,
.techno-prayer-form textarea::placeholder {
    color: var(--muted);
    opacity: 0.72;
}

.techno-prayer-form input:focus,
.techno-prayer-form textarea:focus,
.techno-prayer-form select:focus {
    border-color: var(--neon-border-strong);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.16);
}

.techno-prayer-form b {
    color: var(--accent);
}

.techno-prayer-contact {
    display: grid;
    gap: 10px;
    margin: 2px 0 0;
    padding: 12px;
    border: 1px solid var(--field-border-soft);
    border-radius: 6px;
}

.techno-prayer-contact[hidden] {
    display: none;
}

.techno-prayer-contact legend {
    padding: 0 6px;
    color: var(--accent);
    font-weight: 700;
}

.techno-prayer-disclaimer {
    margin: 2px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--field-border-soft);
    border-left-color: var(--neon-border-strong);
    border-left-width: 3px;
    border-radius: 6px;
    background: rgba(var(--accent-rgb), 0.07);
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.45;
}

.techno-prayer-contact + .techno-prayer-disclaimer {
    margin-top: 8px;
}

.techno-prayer-submit {
    justify-self: center;
    margin-top: 2px;
}

.techno-prayer-status {
    margin: 0;
    color: var(--accent);
    font-size: 0.96rem;
    line-height: 1.35;
    text-align: center;
}

.techno-prayer-status[data-type="error"] {
    color: #ff8f8f;
}

.techno-prayer-status[data-type="success"] {
    color: var(--accent-soft);
}

.techno-prayer-help-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0.82;
    text-decoration: none;
    text-underline-offset: 3px;
}

.techno-prayer-help-link span:first-child {
    display: inline-grid;
    width: 14px;
    height: 14px;
    place-items: center;
    border: 1px solid var(--neon-border-strong);
    border-radius: 50%;
    color: var(--accent-soft);
    font-size: 0.62rem;
    line-height: 1;
}

.techno-prayer-help-link span:last-child {
    text-decoration: underline;
}

.techno-prayer-help-link:hover,
.techno-prayer-help-link:focus-visible {
    color: var(--accent-soft);
    opacity: 1;
    text-decoration: underline;
}
