.kp-recipient {
    margin: 0;
    padding: 1.5rem;
    background: #f5f4f1;
    color: #242323;
    font: 1rem/1.5 system-ui, sans-serif;
}

.kp-recipient main {
    max-width: 62rem;
    margin: 0 auto;
}

.kp-recipient h1 {
    margin: 0;
    font-size: clamp(1.7rem, 5vw, 2.6rem);
    line-height: 1.2;
}

.kp-brand {
    margin: 0 0 .4rem;
    font-size: .9rem;
    font-weight: 750;
    color: #655036;
}

#kp-document-actions:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1rem;
}

#kp-document-actions a {
    padding: .65rem 1rem;
    border: 1px solid #79664c;
    border-radius: .45rem;
    color: #2a251e;
    font-weight: 650;
    text-decoration: none;
}

#kp-document-actions a:first-child {
    background: #f5d485;
}

#kp-pdf-preview:not([hidden]) {
    display: block;
    width: 100%;
    height: min(72vh, 60rem);
    box-sizing: border-box;
    border: 1px solid #ded9ce;
    border-radius: .45rem;
    background: #fff;
}

#np-kp-share-pilot {
    margin: 1rem 0 0;
    padding: 1rem;
    border: 1px solid #ded9ce;
    border-radius: .6rem;
    background: #fffefa;
    color: #252525;
}

#np-kp-share-pilot label {
    display: block;
    font-weight: 650;
}

#np-kp-share-pilot select,
#np-kp-share-pilot input:not([hidden]) {
    display: block;
    width: 100%;
    margin: .4rem 0 .75rem;
    padding: .5rem;
    box-sizing: border-box;
}

.kp-pilot-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

.kp-pilot-buttons button {
    padding: .55rem .8rem;
    border: 1px solid #a68b60;
    border-radius: .45rem;
    background: #fff;
    color: #30271b;
}

.kp-pilot-buttons button:first-child {
    background: #f5d485;
    font-weight: 650;
}

#np-kp-share-pilot p {
    margin: .5rem 0;
}

#np-kp-pilot-status:empty,
#np-kp-pilot-progress:empty {
    display: none;
}

#kp-mobile-preview canvas {
    width: 100%;
    height: auto;
    background: #fff;
}

.kp-preview-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-bottom: .65rem;
    text-align: center;
}

.kp-preview-controls button {
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid #79664c;
    border-radius: .45rem;
    background: #fff;
    color: #2a251e;
    font: inherit;
}

.kp-preview-controls button:disabled {
    opacity: .45;
}
