.owner-email-field {
    display: grid;
    grid-template-columns: auto minmax(190px, 1fr);
    align-items: center;
    gap: 6px 12px;
    margin-top: 12px;
}

.owner-email-field label {
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
}

.owner-email-field label span {
    color: var(--muted);
    font-weight: 400;
}

.owner-email-field input {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #d9d7cf;
    border-radius: 10px;
    outline: 0;
    background: #fff;
    font-size: 14px;
}

.owner-email-field input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(238, 108, 57, .12);
}

.owner-email-field small {
    grid-column: 2;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.editor-main {
    padding-bottom: 106px;
}

.editor-action-dock {
    position: fixed;
    z-index: 80;
    right: 20px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 20px;
    width: min(680px, calc(100% - 40px));
    margin-inline: auto;
    filter: drop-shadow(0 15px 28px rgba(25, 63, 61, .22));
}

.editor-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    background: #193f3d;
}

.dock-button {
    min-width: 0;
    min-height: 58px;
    padding: 10px 14px;
    border: 0;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.dock-button + .dock-button {
    border-left: 1px solid rgba(255, 255, 255, .22);
}

.dock-button > span:first-child {
    font-size: 19px;
}

.dock-email {
    background: #193f3d;
}

.dock-email:hover,
.dock-email[aria-expanded="true"] {
    background: #285956;
}

.dock-share {
    background: #ee6c39;
}

.dock-share:hover {
    background: #d95625;
}

.dock-saved {
    background: #285956;
    color: #dcebdc;
    cursor: default;
}

.editor-email-panel {
    margin-bottom: 9px;
    padding: 18px;
    border: 1px solid #dce8df;
    border-radius: 16px;
    background: #fff;
}

.editor-email-panel[hidden] {
    display: none;
}

.editor-email-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.editor-email-panel-head strong,
.editor-email-panel-head small {
    display: block;
}

.editor-email-panel-head strong {
    color: #193f3d;
    font-family: 'Fraunces', serif;
    font-size: 19px;
}

.editor-email-panel-head small {
    margin-top: 2px;
    color: #667085;
    font-size: 11px;
}

.editor-email-panel-head button {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef3ef;
    color: #193f3d;
    font-size: 22px;
    cursor: pointer;
}

.editor-email-panel form > label,
.editor-email-panel form > small {
    display: block;
}

.editor-email-panel form > label {
    margin-bottom: 5px;
    color: #193f3d;
    font-size: 11px;
    font-weight: 800;
}

.editor-email-panel form > div {
    display: flex;
    overflow: hidden;
    border: 1px solid #cfddd4;
    border-radius: 11px;
}

.editor-email-panel input {
    min-width: 0;
    min-height: 48px;
    flex: 1;
    padding: 10px 12px;
    border: 0;
    outline: 0;
    font-size: 16px;
}

.editor-email-panel form button {
    padding: 10px 18px;
    border-radius: 0;
    background: #193f3d;
    color: #fff;
    white-space: nowrap;
}

.editor-email-panel form > small {
    margin-top: 6px;
    color: #667085;
    font-size: 10px;
}

@media (max-width: 620px) {
    .owner-email-field {
        grid-template-columns: 1fr;
    }

    .owner-email-field input {
        font-size: 16px;
    }

    .owner-email-field small {
        grid-column: 1;
    }

    .editor-main {
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    .editor-action-dock {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .editor-action-bar {
        padding-bottom: env(safe-area-inset-bottom);
        border-width: 1px 0 0;
        border-radius: 0;
    }

    .dock-button {
        min-height: 62px;
        padding-inline: 8px;
        font-size: 13px;
    }

    .editor-email-panel {
        margin: 0 10px 8px;
        padding: 16px;
    }
}

@media (max-width: 390px) {
    .editor-email-panel form > div {
        display: grid;
    }

    .editor-email-panel form button {
        min-height: 46px;
    }
}

.edit-link-reminder {
    display: grid;
    grid-template-columns: 1fr minmax(310px, .8fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid #dce8df;
    border-radius: 16px;
    background: #eef5f0;
}

.edit-link-reminder > div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.edit-link-reminder > div > span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #193f3d;
    color: #fff;
    font-size: 20px;
}

.edit-link-reminder h3 {
    margin: 0 0 5px;
    color: #193f3d;
    font-family: 'Fraunces', serif;
    font-size: 20px;
}

.edit-link-reminder p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

.edit-link-reminder form label,
.edit-link-reminder form small {
    display: block;
}

.edit-link-reminder form label {
    margin-bottom: 5px;
    color: #193f3d;
    font-size: 11px;
    font-weight: 700;
}

.edit-link-reminder form > div {
    display: flex;
    overflow: hidden;
    border: 1px solid #cfddd4;
    border-radius: 10px;
    background: #fff;
}

.edit-link-reminder form input {
    min-width: 0;
    flex: 1;
    padding: 11px 12px;
    border: 0;
    outline: 0;
}

.edit-link-reminder form button {
    border-radius: 0;
    background: #193f3d;
    color: #fff;
    padding: 11px 15px;
    white-space: nowrap;
}

.edit-link-reminder form small {
    margin-top: 5px;
    color: #667085;
    font-size: 9px;
}

@media (max-width: 760px) {
    .edit-link-reminder {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

@media (max-width: 520px) {
    .edit-link-reminder form > div {
        display: grid;
    }

    .edit-link-reminder form input {
        font-size: 16px;
    }

    .edit-link-reminder form button {
        border-radius: 0;
    }
}
