/* The author editor uses the existing client-dialog fields and spacing. */
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-edit-trigger {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 100%;
    min-height: var(--h-touch); margin: 0 0 var(--space-after-h2); padding: var(--hc-space-sm) var(--hc-space-lg);
    border: thin solid var(--color-primary); border-radius: var(--radius-sm);
    background: var(--color-white); color: var(--color-primary); font-family: var(--font-family);
    font-size: var(--text-md); font-weight: var(--weight-bold); line-height: var(--leading-relaxed); cursor: pointer;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-edit-trigger[hidden] { display: none !important; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-edit-trigger:focus-visible { outline: var(--hc-focus-width) solid var(--color-primary); outline-offset: var(--hc-focus-offset); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-author-edit {
    display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; min-width: 0; width: 100%;
    margin: 0; padding: 0; overflow: hidden;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-author-edit__intro { margin: 0 0 var(--hc-space-lg); color: var(--color-muted); font-size: var(--text-base); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-author-edit .hr-client-review__body { flex: 1 1 auto; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-author-edit .hr-client-review__actions button { width: 100%; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-author-edit .hr-client-review__feedback[data-kind="success"] {
    border-color: var(--color-success); background: var(--color-success-light); color: var(--color-success-text);
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-edit-receipt { margin-inline-end: var(--hc-space-sm); margin-bottom: var(--hc-space-sm); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review-author-edit__intro { display: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review-edit-trigger:disabled { cursor: default; color: var(--color-muted); }
@media (hover: hover) and (pointer: fine) {
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review-edit-trigger:hover:not(:disabled) { background: var(--color-bg-tint-blue); }
}
