.p2-transmit[hidden] {
    display: none;
}

.p2-transmit {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.p2-transmit__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 3, 1, .86);
    backdrop-filter: blur(7px);
}

.p2-transmit__panel {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid #2c5f39;
    background: rgba(3, 9, 5, .98);
    box-shadow: 0 0 0 1px rgba(83,255,127,.05), 0 24px 80px rgba(0,0,0,.62);
    padding: 28px;
}

.p2-transmit__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(rgba(83,255,127,.025) 1px, transparent 1px);
    background-size: 100% 5px;
}

.p2-transmit__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #7e8d81;
    font: 28px/1 "Share Tech Mono", monospace;
    cursor: pointer;
}

.p2-transmit__close:hover,
.p2-transmit__close:focus-visible {
    color: #53ff7f;
    outline: none;
}

.p2-transmit__eyebrow {
    color: #53ff7f;
    font-size: 11px;
    letter-spacing: .16em;
}

.p2-transmit h2 {
    margin: 10px 0 8px;
    font: 700 28px/1.1 Orbitron, sans-serif;
}

.p2-transmit__intro {
    margin: 0 0 22px;
    color: #91a096;
}

.p2-transmit__form,
.p2-transmit__form label {
    display: grid;
    gap: 8px;
}

.p2-transmit__form {
    gap: 16px;
}

.p2-transmit__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.p2-transmit__form label > span {
    color: #9ca8a0;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.p2-transmit input,
.p2-transmit select,
.p2-transmit textarea {
    width: 100%;
    border: 1px solid #274330;
    background: #040906;
    color: #e8ede9;
    font: 14px/1.4 "Share Tech Mono", monospace;
    padding: 11px 12px;
}

.p2-transmit input:focus,
.p2-transmit select:focus,
.p2-transmit textarea:focus {
    border-color: #53ff7f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(83,255,127,.08);
}

.p2-transmit textarea {
    resize: vertical;
    min-height: 150px;
}

.p2-transmit__send {
    justify-self: start;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #23b54a;
    background: #071009;
    color: #53ff7f;
    font: 12px "Share Tech Mono", monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}

.p2-transmit__send:disabled {
    opacity: .5;
    cursor: wait;
}

.p2-transmit__status {
    min-height: 20px;
    color: #dce863;
    font-size: 12px;
}

.p2-transmit__status.is-error {
    color: #ff7a7a;
}

.p2-transmit__honeypot {
    position: absolute;
    left: -9999px;
}

body.p2-transmit-open {
    overflow: hidden;
}

@media (max-width: 620px) {
    .p2-transmit {
        padding: 10px;
    }

    .p2-transmit__panel {
        max-height: calc(100vh - 20px);
        padding: 24px 18px 20px;
    }

    .p2-transmit__row {
        grid-template-columns: 1fr;
    }
}
