.emm-wrap {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    color: #1a1a1a;
}

.emm-intro {
    margin-bottom: 1.25rem;
}

#emm-form label {
    display: block;
    font-weight: 600;
    margin: 1rem 0 0.35rem;
}

#emm-form input[type="text"],
#emm-form input[type="email"],
#emm-form input[type="tel"],
#emm-form input[type="file"],
#emm-form select,
#emm-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.7rem;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    font: inherit;
}

#emm-form textarea {
    resize: vertical;
}

.emm-hint {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.emm-map-actions {
    margin-bottom: 0.5rem;
}

#emm-map {
    height: 320px;
    width: 100%;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    z-index: 1;
}

.emm-coords {
    font-size: 0.85rem;
    color: #444;
    margin: 0.4rem 0 0;
}

.emm-fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.5rem 1rem 1rem;
    margin: 1.25rem 0;
}

.emm-fieldset legend {
    font-weight: 600;
    padding: 0 0.4rem;
}

.emm-check {
    display: flex !important;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400 !important;
    margin: 1.25rem 0 !important;
}

.emm-check input {
    margin-top: 0.25rem;
}

.emm-btn {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0.7rem 1.3rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.emm-btn:hover {
    background: #256628;
}

.emm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.emm-btn-secondary {
    background: #1565c0;
}

.emm-btn-secondary:hover {
    background: #0d47a1;
}

.emm-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    opacity: 0;
}

.emm-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
}

.emm-message.ok {
    background: #e8f5e9;
    color: #1b5e20;
}

.emm-message.err {
    background: #ffebee;
    color: #b71c1c;
}
