.website-edit-bar {
    position: fixed;
    z-index: 10000;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.22);
    font: 600 13px/1.2 "Segoe UI", Arial, sans-serif;
}

.website-edit-bar a,
.website-edit-bar button,
.inline-edit-button {
    border: 1px solid #b9cbe3;
    border-radius: 6px;
    background: #edf4fc;
    color: #173b68;
    padding: 7px 10px;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.inline-edit-button-flow {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 6px;
    vertical-align: middle;
}

.website-edit-bar .website-edit-stop {
    background: #173b68;
    color: #ffffff;
}

.inline-editable {
    position: relative;
    outline: 1px dashed rgba(37, 99, 235, 0.55);
    outline-offset: 4px;
}

.inline-edit-button {
    position: absolute;
    z-index: 20;
    top: -13px;
    right: -5px;
    padding: 3px 7px;
    background: #ffffff;
    color: #173b68;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    font: 600 11px/1.2 "Segoe UI", Arial, sans-serif;
}

.website-edit-modal[hidden] {
    display: none;
}

.website-edit-modal {
    position: fixed;
    z-index: 10020;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(4, 12, 24, 0.72);
}

.website-edit-dialog {
    width: min(620px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid #c7d5e7;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    padding: 22px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.website-edit-dialog h2 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 22px;
}

.website-edit-kind {
    margin: 0 0 16px;
    color: #52657d;
}

.website-edit-dialog textarea {
    display: block;
    width: 100%;
    min-height: 190px;
    resize: vertical;
    border: 1px solid #aebed2;
    border-radius: 6px;
    background: #ffffff;
    color: #172033;
    padding: 12px;
    font: 400 15px/1.5 "Segoe UI", Arial, sans-serif;
}

.website-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.website-edit-actions button {
    border: 1px solid #b9cbe3;
    border-radius: 6px;
    padding: 9px 14px;
    font-weight: 700;
    cursor: pointer;
}

.website-edit-actions button[type="submit"] {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.website-edit-message {
    max-width: 300px;
    color: #173b68;
}

@media (max-width: 720px) {
    .website-edit-bar {
        right: 8px;
        bottom: 8px;
        left: 8px;
        flex-wrap: wrap;
    }
}
