.pz-talk-block-editor {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.pz-talk-block-message {
    padding: 12px;
    background: #f0f7ff;
    border: 1px solid #ccc;
    border-left: 3px solid #8c8f94;
    margin-bottom: 12px;
}
.pz-talk-block-message.is-right {
    border-left: 1px solid #ccc;
    border-right: 3px solid #8c8f94;
}
.pz-talk-block-controls,
.pz-talk-block-picker,
.pz-talk-block-direction {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pz-talk-block-bubble-control {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.pz-talk-block-bubble-control select {
    box-sizing: border-box;
    width: 150px;
    min-height: 36px;
    background-color: #fff;
}
.pz-talk-bubble-dropdown > .components-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    width: 150px;
    min-width: 150px;
    height: 38px;
    padding: 0 6px;
    gap: 4px;
    background: #fff;
}
.pz-talk-bubble-preview {
    display: block;
    flex-shrink: 0;
    width: 120px;
    height: 36px;
}
.pz-talk-bubble-popover .pz-talk-block-options .components-button {
    justify-content: center;
    padding: 0 8px;
}
.pz-talk-block-controls {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}
.pz-talk-block-actions {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.pz-talk-block-insert-between {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}
.pz-talk-block-insert-between::before,
.pz-talk-block-insert-between::after {
    content: "";
    flex: 1;
    border-top: 1px solid #ddd;
}
.pz-talk-block-insert-between .components-button {
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
}
.pz-talk-block-actions .components-button {
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 20px;
    line-height: 1;
}
.pz-talk-block-picker img,
.pz-talk-block-options img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 3px;
    flex-shrink: 0;
}
.pz-talk-block-picker .components-button,
.pz-talk-block-options .components-button {
    gap: 6px;
    height: auto;
    min-height: 36px;
    white-space: nowrap;
}
.pz-talk-block-person-popover .components-popover__content {
    width: max-content;
    min-width: 160px;
    max-width: calc(100vw - 32px);
    margin: 0;
    border: 2px solid var(--wp-admin-theme-color, #3858e9);
    border-radius: 0 0 4px 4px;
}
.pz-talk-block-dropdown .components-button[aria-expanded="true"] {
    outline: 2px solid var(--wp-admin-theme-color, #3858e9);
    outline-offset: -2px;
    box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #3858e9);
    background: #f0f3ff;
}
.pz-talk-block-options {
    display: flex;
    flex-direction: column;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px;
    min-width: 152px;
    box-sizing: border-box;
}
.pz-talk-block-picker {
    position: relative;
}
.pz-talk-block-picker-measure {
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    width: max-content;
    min-width: 160px;
    padding: 4px;
    box-sizing: border-box;
    top: 0;
    left: 0;
}
.pz-talk-block-picker-measure > div {
    display: flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    padding: 4px 8px;
    border: 2px solid transparent;
    white-space: nowrap;
    font-size: 13px;
}
.pz-talk-block-dropdown > .components-button > span:last-child {
    margin-left: auto;
}
.pz-talk-block-picker-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pz-talk-block-options .components-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 4px 8px;
    border: 2px solid transparent;
    border-radius: 3px;
    color: var(--wp-admin-theme-color, #3858e9);
    text-align: left;
}
.pz-talk-block-options .components-button span {
    white-space: nowrap;
}
.pz-talk-block-options .components-button[aria-pressed="true"] {
    border-color: var(--wp-admin-theme-color, #3858e9);
    background: #f6f7ff;
}
.pz-talk-block-options .components-button:focus {
    outline: 2px solid var(--wp-admin-theme-color, #3858e9);
    outline-offset: -2px;
    background: #f6f7ff;
}
.pz-talk-block-serif {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.pz-talk-block-text-field {
    position: relative;
    flex: 1;
    min-width: 0;
}
.pz-talk-block-serif textarea {
    display: block;
    flex: 1;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 6px 8px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    line-height: 1.5;
    font: inherit;
    resize: vertical;
}
