/* Client reviews: scoped native dialog, with one existing form. */
html.hr-client-review-open { overflow: hidden; }
.hr-reviews.hr-client-review-ready .wpd-form-head { display: none; }
.hr-client-review-trigger {
    display: flex; align-items: center; justify-content: center; gap: var(--hc-space-sm);
    width: 100%; min-height: var(--h-big); margin: var(--hc-space-lg) 0 var(--space-after-h2);
    padding: var(--hc-space-md) var(--hc-space-lg);
    border: thin solid var(--color-primary); border-radius: var(--radius-sm);
    background: var(--color-primary); color: var(--btn-text-primary);
    font-family: var(--font-family); font-size: var(--text-md); font-weight: var(--weight-bold);
    line-height: var(--leading-relaxed); cursor: pointer;
    transition: background-color var(--transition), box-shadow var(--transition);
}
.hr-client-review-trigger svg { width: var(--text-xl); height: var(--text-xl); fill: currentColor; flex: 0 0 auto; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review {
    box-sizing: border-box; position: fixed; left: 0; right: 0;
    top: calc(var(--hr-client-viewport-top, 0px) + var(--hr-client-viewport-height, 100vh) * .5);
    top: calc(var(--hr-client-viewport-top, 0px) + var(--hr-client-viewport-height, 100dvh) * .5);
    bottom: auto; transform: translateY(-50%); margin: 0 auto; padding: 0;
    width: min(var(--max-width-text), calc(100% - var(--space-page-x) * 2)); max-width: none;
    max-height: calc(var(--hr-client-viewport-height, 100dvh) - var(--space-page-x) * 2);
    overflow: hidden; border: thin solid var(--border-default); border-radius: var(--radius-lg);
    color: var(--color-body); background: var(--color-white); box-shadow: var(--shadow-modal);
    font-family: var(--font-family); font-size: var(--text-md); line-height: var(--leading-relaxed);
    text-align: left;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review[open] { display: flex; }
.hr-client-review::backdrop { background: var(--color-heading); opacity: .45; }
.hr-client-review *, .hr-client-review *::before, .hr-client-review *::after { box-sizing: border-box; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review [hidden] { display: none !important; }
.hr-client-review__panel {
    display: flex; flex-direction: column; width: 100%; min-height: 0; min-width: 0;
    max-height: inherit; overflow: hidden;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__header {
    display: flex; flex: 0 0 auto; position: static; height: auto; min-height: 0; max-height: none;
    align-items: flex-start; justify-content: space-between; gap: var(--hc-space-md);
    margin: 0; padding: var(--hc-space-lg) var(--space-after-h3);
    border-bottom: thin solid var(--border-default); background: var(--color-bg-tint-blue);
}
.hr-client-review__heading { min-width: 0; flex: 1 1 auto; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review h2 {
    margin: 0 0 var(--hc-space-md); padding: 0; font-size: var(--text-xl);
    font-weight: var(--weight-bold); line-height: var(--leading-heading); color: var(--color-heading);
}
.hr-client-review h2[tabindex="-1"]:focus,
.hr-client-review h3[tabindex="-1"]:focus { outline: none; box-shadow: none; }
.hr-client-review-profile { display: flex; align-items: center; gap: var(--hc-space-md); min-width: 0; }
.hr-client-review-profile__photo { display: flex; flex: 0 0 var(--h-big); width: var(--h-big); height: var(--h-big); border-radius: var(--radius-round); overflow: hidden; background: transparent; align-items: center; justify-content: center; }
.hr-client-review-profile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hr-client-review-profile__initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: inherit; background: var(--color-primary); color: var(--color-white); font-size: var(--text-lg); font-weight: var(--weight-bold); }
.hr-client-review-profile__content { min-width: 0; }
.hr-client-review-profile__name { font-size: var(--text-md); font-weight: var(--weight-bold); line-height: var(--leading-heading); color: var(--color-heading); overflow-wrap: anywhere; }
.hr-client-review-profile__city, .hr-client-review-profile__experience { display: inline; font-size: var(--text-base); color: var(--color-muted); }
.hr-client-review-profile__city + .hr-client-review-profile__experience::before { content: ' · '; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__close {
    display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
    min-width: var(--h-touch); min-height: var(--h-touch); padding: 0; border: thin solid transparent;
    border-radius: var(--radius-sm); background: transparent; color: var(--color-primary); font-size: var(--text-2xl); cursor: pointer;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-main-form-wrapper,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review form.wpd_comm_form,
.hr-client-review__stage {
    display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; min-height: 0; width: 100%;
    margin: 0; padding: 0; max-height: inherit; overflow: hidden; border: 0; box-shadow: none;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__body {
    min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: var(--hc-space-lg) var(--space-after-h3); scrollbar-gutter: stable;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-group {
    float: none; clear: none; width: 100%; margin: 0; padding: 0; border: 0; min-width: 0;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-group-title,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__label {
    display: block; position: static; width: auto; height: auto; clip: auto; overflow: visible;
    margin: 0 0 var(--hc-space-sm); padding: 0; color: var(--color-heading);
    font-size: var(--text-md); font-weight: var(--weight-bold); line-height: var(--leading-relaxed);
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-item-wrap { display: flex; flex-wrap: wrap; gap: var(--hc-space-sm); float: none; margin: 0; padding: 0; width: 100%; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-desc, :is(#comments, .hr-reviews) #wpdcom .hr-client-review .clearfix,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-editor-char-counter, :is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-icon { display: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating {
    display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: var(--hc-space-xs);
    float: none; margin: 0; padding: 0; border: 0;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating input,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox input {
    position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; overflow: hidden;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating label {
    display: inline-flex; align-items: center; justify-content: center; float: none; margin: 0; padding: 0;
    width: var(--h-touch); height: var(--h-touch); color: var(--color-gray-border);
    font-family: var(--font-family); font-weight: var(--weight-regular); font-size: var(--text-4xl); cursor: pointer;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating label::before { content: '★'; font-family: var(--font-family); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating input:checked ~ label { color: var(--color-accent-yellow); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating input:focus-visible + label { border-radius: var(--radius-sm); box-shadow: var(--shadow-primary); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__rating-value { margin: var(--hc-space-xs) 0 var(--hc-space-lg); color: var(--color-muted); font-size: var(--text-base); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__qualities { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--hc-space-lg); margin: 0 0 var(--space-after-h3); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item { display: block; position: relative; width: 100%; margin: 0; padding: 0; float: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item label {
    display: flex; align-items: center; gap: var(--hc-space-sm); min-height: var(--h-touch); width: 100%;
    margin: 0; padding: var(--hc-space-sm) var(--hc-space-md);
    border: thin solid var(--border-default); border-radius: var(--radius-sm); background: var(--color-white);
    color: var(--color-body); font-family: var(--font-family); font-size: var(--text-base); font-weight: var(--weight-regular);
    line-height: var(--leading-relaxed); cursor: pointer;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item label::before {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 var(--text-lg);
    width: var(--text-lg); height: var(--text-lg); margin: 0; border: thin solid var(--color-gray-border);
    position: static; inset: auto; border-radius: var(--radius); content: ''; background: var(--color-white); color: var(--color-primary);
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox input:checked + label { border-color: var(--color-primary); background: var(--color-bg-tint-blue); color: var(--color-primary); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox input:checked + label::before { content: '✓'; border-color: var(--color-primary); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox input:focus-visible + label { box-shadow: var(--shadow-primary); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-comment,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wc-field-textarea,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-textarea-wrap,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-textarea-wrap { display: block; width: 100%; margin: 0; padding: 0; min-width: 0; float: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review textarea.wc_comment {
    display: block; width: 100%; min-height: calc(var(--h-big) * 3); max-height: calc(var(--h-big) * 6);
    margin: 0; padding: var(--hc-space-md); border: thin solid var(--border-default); border-radius: var(--radius-sm);
    color: var(--color-body); background: var(--color-white); font-family: var(--font-family); font-size: var(--text-md);
    font-weight: var(--weight-regular); line-height: var(--leading-relaxed); resize: vertical;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review textarea::placeholder { color: var(--color-muted); font-weight: var(--weight-regular); font-size: var(--text-md); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__hint { margin: var(--hc-space-sm) 0 0; color: var(--color-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__counter { margin: var(--hc-space-xs) 0 var(--hc-space-lg); text-align: right; font-size: var(--text-sm); color: var(--color-muted); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__guest { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--hc-space-md); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__guest .wpdiscuz-item { width: 100%; margin: 0; padding: 0; position: relative; float: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__guest input {
    display: block; width: 100%; min-height: var(--h-touch); height: auto; margin: 0; padding: var(--hc-space-sm) var(--hc-space-md);
    border: thin solid var(--border-default); border-radius: var(--radius-sm); font-family: var(--font-family); font-size: var(--text-md); color: var(--color-body); background: var(--color-white);
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__guest .wpdlb { display: block; position: static; visibility: visible; opacity: 1; margin: var(--hc-space-xs) 0 0; color: var(--color-muted); font-size: var(--text-sm); font-weight: var(--weight-regular); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__footer { display: flex !important; flex: 0 0 auto; flex-direction: column; gap: var(--hc-space-sm); width: 100%; margin: 0; padding: var(--hc-space-md) var(--space-after-h3); border-top: thin solid var(--border-default); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__actions { display: flex; justify-content: flex-end; align-items: stretch; gap: var(--hc-space-sm); width: 100%; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wc-field-submit { display: flex; flex: 1 1 auto; width: auto; margin: 0; padding: 0; float: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wc-field-submit input[type="submit"],
.hr-client-review__primary, .hr-client-review__secondary, .hr-client-review__back,
.hr-client-review__recovery button {
    display: inline-flex; align-items: center; justify-content: center; min-height: var(--h-touch); width: auto;
    margin: 0; padding: var(--hc-space-sm) var(--hc-space-lg); border: thin solid var(--color-primary); border-radius: var(--radius-sm);
    background: var(--color-primary); color: var(--btn-text-primary); font-family: var(--font-family); font-size: var(--text-md);
    font-weight: var(--weight-bold); line-height: var(--leading-relaxed); cursor: pointer; white-space: normal;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wc-field-submit input[type="submit"] { width: 100%; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__secondary, .hr-client-review__back,
.hr-client-review__recovery button + button { flex: 0 0 auto; background: var(--color-white); color: var(--color-primary); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__legal { margin: 0; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .politic-info { margin: 0; padding: 0; font-size: var(--text-xs); line-height: var(--leading-relaxed); color: var(--color-muted); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review a { color: var(--color-primary); text-decoration: underline; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__draftbar { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: var(--hc-space-xs) var(--hc-space-md); padding: var(--hc-space-sm) var(--space-after-h3); background: var(--color-bg-tint-blue); color: var(--color-muted); font-size: var(--text-xs); line-height: var(--leading-relaxed); }
.hr-client-review__draftbar span { width: 100%; }
.hr-client-review__draftbar button { padding: 0; border: 0; background: transparent; color: var(--color-primary); text-decoration: underline; font-family: var(--font-family); font-size: var(--text-sm); cursor: pointer; min-height: var(--h-small); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__feedback {
    flex: 0 0 auto; max-height: min(calc(var(--h-big) * 2), calc(var(--hr-client-viewport-height, 100dvh) * .25));
    overflow: auto; overflow-wrap: anywhere; margin: 0; padding: var(--hc-space-sm) var(--hc-space-md);
    border: thin solid var(--color-danger-active); border-inline-start-width: var(--hc-focus-width); border-radius: var(--radius-sm);
    background: var(--color-accent-red-bg); color: var(--color-danger-active); font-size: var(--text-base);
    font-weight: var(--weight-bold); line-height: var(--leading-relaxed);
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__feedback:focus { outline: var(--hc-focus-width) solid var(--color-danger-active); outline-offset: var(--hc-focus-offset); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__feedback[data-kind="pending"], :is(#comments, .hr-reviews) #wpdcom .hr-client-review__feedback[data-kind="copy"] { border-color: var(--color-primary); background: var(--color-bg-tint-blue); color: var(--color-primary); font-weight: var(--weight-regular); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__email-step > .hr-client-review__feedback { margin-top: var(--hc-space-md); }
.hr-client-review__recovery { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: var(--hc-space-sm); padding: var(--hc-space-sm) var(--space-after-h3); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__copy, :is(#comments, .hr-reviews) #wpdcom .hr-client-review__success textarea { width: calc(100% - var(--hc-space-lg) * 2); min-height: calc(var(--h-big) * 2); margin: var(--hc-space-sm); padding: var(--hc-space-sm); font-family: var(--font-family); font-size: var(--text-md); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__success { padding: var(--space-after-h3); overflow-y: auto; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__success h3, :is(#comments, .hr-reviews) #wpdcom .hr-client-review__email-step h3 { margin: 0 0 var(--hc-space-md); color: var(--color-heading); font-size: var(--text-xl); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__success p { margin: 0 0 var(--hc-space-lg); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__email-step { min-height: 0; padding: var(--hc-space-lg) var(--space-after-h3); overflow-y: auto; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__email-step > p { font-size: var(--text-base); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review #email-confirm-modal.hr-client-review__email-mounted {
    display: block !important; position: static; inset: auto; width: 100%; height: auto; margin: 0; padding: 0 !important; opacity: 1; overflow: visible; transform: none;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review #email-confirm-modal .modal-dialog, :is(#comments, .hr-reviews) #wpdcom .hr-client-review #email-confirm-modal .modal-content, :is(#comments, .hr-reviews) #wpdcom .hr-client-review #email-confirm-modal .modal-body {
    position: static; width: 100%; max-width: none; height: auto; min-height: 0; margin: 0; padding: 0; opacity: 1; transform: none; box-shadow: none; border: 0; background: transparent;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review #email-confirm-modal .close,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review #email-confirm-modal .comment_info_titles { display: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review #send_cod { width: 100%; min-height: var(--h-touch); padding: var(--hc-space-sm) var(--hc-space-md); border: thin solid var(--border-default); border-radius: var(--radius-sm); font-size: var(--text-md); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review #resend_cod { display: inline-flex; align-items: center; min-height: var(--h-touch); color: var(--color-primary); text-decoration: underline; cursor: pointer; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review #resend_cod[aria-disabled="true"] { color: var(--color-muted); text-decoration: none; cursor: default; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review #button_email_confirm { width: 100%; min-height: var(--h-touch); margin-top: var(--hc-space-md); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review button:disabled, :is(#comments, .hr-reviews) #wpdcom .hr-client-review input:disabled { cursor: default; opacity: .6; }
.hr-client-review-trigger:focus-visible, :is(#comments, .hr-reviews) #wpdcom .hr-client-review :is(button,input,textarea,a):focus-visible { outline: var(--hc-focus-width) solid var(--color-primary); outline-offset: var(--hc-focus-offset); box-shadow: var(--shadow-primary); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review [aria-invalid="true"] { border-color: var(--color-danger-active); }
@supports (overflow: clip) {
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review, .hr-client-review__panel, :is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-main-form-wrapper, :is(#comments, .hr-reviews) #wpdcom .hr-client-review form.wpd_comm_form, .hr-client-review__stage { overflow: clip; }
}
@media (hover: hover) and (pointer: fine) {
    .hr-client-review-trigger:hover, :is(#comments, .hr-reviews) #wpdcom .hr-client-review .wc-field-submit input[type="submit"]:hover:not(:disabled), .hr-client-review__primary:hover { background: var(--color-primary-hover); }
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox label:hover { border-color: var(--color-primary); }
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating:not(:checked) label:hover,
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating:not(:checked) label:hover ~ label { color: var(--color-accent-yellow); }
}
@media (max-width: 480px) {
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review__header, :is(#comments, .hr-reviews) #wpdcom .hr-client-review__body, :is(#comments, .hr-reviews) #wpdcom .hr-client-review__footer, :is(#comments, .hr-reviews) #wpdcom .hr-client-review__email-step { padding-inline: var(--hc-space-md); }
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review__qualities, :is(#comments, .hr-reviews) #wpdcom .hr-client-review__guest { grid-template-columns: minmax(0,1fr); }
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review__draftbar { padding-inline: var(--hc-space-md); }
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review.hr-client-review--typing { height: calc(var(--hr-client-viewport-height,100dvh) - var(--hc-space-sm) * 2); max-height: calc(var(--hr-client-viewport-height,100dvh) - var(--hc-space-sm) * 2); }
.hr-client-review--typing .hr-client-review__panel { height: 100%; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review__header { padding-block: var(--hc-space-xs); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.hr-client-review--typing .hr-client-review-profile__photo { flex-basis: var(--h-small); width: var(--h-small); height: var(--h-small); }
.hr-client-review--typing .hr-client-review-profile__name { font-size: var(--text-base); }
.hr-client-review--typing .hr-client-review-profile__city, .hr-client-review--typing .hr-client-review-profile__experience { font-size: var(--text-xs); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review__body { display: flex; flex: 1 1 auto; flex-direction: column; padding-block: var(--hc-space-sm); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .wpd-field-rating, :is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review__rating-value,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review__qualities, :is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review__guest,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review__hint,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review__draftbar { display: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .wpd-field-comment, :is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .wc-field-textarea,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .wpdiscuz-textarea-wrap, :is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .wpd-textarea-wrap { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing textarea.wc_comment { flex: 1 1 auto; height: 0; min-height: calc(var(--h-small) * 2); max-height: none; resize: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review--typing .hr-client-review__footer { padding-block: var(--hc-space-xs); }
@media (prefers-reduced-motion: reduce) { .hr-client-review-trigger { transition: none; } }

/* Reset legacy wpDiscuz pseudo-elements inside the new controls. */
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item label {
    position: relative; font-weight: var(--weight-regular);
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item label::after { display: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating { border: 0; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-reviews-hp {
    position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden;
}

/* The theme has !important legacy checkbox rules; keep this reset local. */
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item label {
    display: flex !important; padding: var(--hc-space-sm) var(--hc-space-md) !important;
    font-weight: var(--weight-regular) !important;
}

:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wc-field-submit input[type="submit"] {
    letter-spacing: normal !important; white-space: nowrap !important;
    height: auto !important; min-height: var(--h-touch); padding-inline: var(--hc-space-md);
}
@media (max-width: 359px) {
    .hr-client-review-profile__city, .hr-client-review-profile__experience { font-size: var(--text-xs); }
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__success [data-client-copy] { margin: 0 var(--hc-space-sm) var(--hc-space-md) 0; }

/* Single vector control rendering, isolated from wpDiscuz and icon-font skins. */
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating label::before,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpdiscuz-rating label::after,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item label::before,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item label::after {
    content: none !important; display: none !important; background: none !important;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__star {
    display: block; width: calc(var(--text-4xl) + var(--hc-space-xs)); height: calc(var(--text-4xl) + var(--hc-space-xs)); fill: currentColor;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .wpd-field-checkbox .wpd-item label {
    height: auto !important; max-height: none; min-height: var(--h-touch); white-space: normal;
    font-size: var(--text-base) !important; line-height: var(--leading-relaxed) !important;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__check {
    display: inline-flex; flex: 0 0 var(--text-xl); align-items: center; justify-content: center;
    width: var(--text-xl); height: var(--text-xl); min-width: var(--text-xl); margin: 0;
    border: thin solid var(--color-gray-border); border-radius: var(--radius);
    background: var(--color-white); color: var(--color-white);
    transition: background-color var(--transition), border-color var(--transition);
}
.hr-client-review__check svg { display: block; width: var(--text-md); height: var(--text-md); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review input:checked + label .hr-client-review__check,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__agreement input:checked + .hr-client-review__check { border-color: var(--color-primary); background: var(--color-primary); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review input:checked + label .hr-client-review__check svg,
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__agreement input:checked + .hr-client-review__check svg { opacity: 1; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__agreement {
    display: flex; align-items: center; gap: var(--hc-space-md); position: relative;
    min-height: var(--h-touch); margin: 0; padding: var(--hc-space-xs) 0; cursor: pointer;
    font-weight: var(--weight-regular); line-height: var(--leading-relaxed);
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__agreement input {
    position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; padding: 0;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__agreement input:focus-visible + .hr-client-review__check { outline: var(--hc-focus-width) solid var(--color-primary); outline-offset: var(--hc-focus-offset); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__agreement input[aria-invalid="true"] + .hr-client-review__check { border-color: var(--color-danger-active); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__field-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--hc-space-xs) var(--hc-space-sm); margin-bottom: var(--hc-space-sm); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__field-head label { margin: 0; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__field-head .hr-client-review__counter { display: block; flex: 0 0 auto; margin: 0 0 0 auto; font-size: var(--text-xs); text-align: right; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__close { font-size: var(--text-3xl); line-height: 1; }
@media (prefers-reduced-motion: reduce) { .hr-client-review__check { transition: none !important; } }

:is(#comments, .hr-reviews) #wpdcom .hr-client-review__access-body { min-height: 0; overflow-y: auto; padding: var(--space-after-h3); font-size: var(--text-md); }
.hr-client-review__access-body [data-client-access-message] { margin: 0 0 var(--hc-space-lg); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__access-body [data-client-access-action] {
    display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: var(--h-touch);
    margin: var(--hc-space-sm) 0 0; padding: var(--hc-space-sm) var(--hc-space-lg); border: thin solid var(--color-primary);
    border-radius: var(--radius-sm); background: var(--color-primary); color: var(--btn-text-primary);
    font-family: var(--font-family); font-size: var(--text-md); font-weight: var(--weight-bold); cursor: pointer;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review__invite-link { display: block; width: 100%; min-height: var(--h-touch); border: thin solid var(--border-default); border-radius: var(--radius-sm); padding: var(--hc-space-sm) var(--hc-space-md); margin: 0; font: inherit; color: var(--color-primary); background: var(--color-bg-tint-blue); }
.hr-client-review__access-feedback { margin: var(--hc-space-md) 0 0; color: var(--color-primary); font-size: var(--text-base); }


/* A short, bounded rating celebration in the native dialog's top layer. */
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__burst {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; contain: layout style paint;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__burst * { pointer-events: none; }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__burst-star {
    display: block; position: absolute; width: var(--text-sm); height: var(--text-sm);
    color: var(--color-accent-yellow); fill: currentColor; opacity: 0;
}
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__burst-star:nth-child(4n) { width: var(--text-lg); height: var(--text-lg); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__burst-star:nth-child(5n) { color: var(--color-accent-blue); }
:is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__burst-star:nth-child(3n) { fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (prefers-reduced-motion: reduce) {
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__burst { display: none !important; }
    :is(#comments, .hr-reviews) #wpdcom .hr-client-review .hr-client-review__star { transform: none !important; }
}
