/* =========================================================
   V Resurse Ok — request page hard fix
   This file is loaded AFTER style.css and restores the request form UI.
========================================================= */

.site-header .header-cta,
.site-header .header-cta.button-primary,
.site-header .header-cta.button-secondary {
  color: var(--brand-primary) !important;
  background: var(--surface-white) !important;
  border-color: var(--border-default) !important;
  box-shadow: none !important;
}

.site-header .header-cta:hover {
  color: var(--brand-primary) !important;
  background: var(--bg-secondary) !important;
  border-color: var(--border-default) !important;
}

.request-page .section-head {
  max-width: 820px !important;
}

.request-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 24px !important;
  align-items: start !important;
}

.request-form-card,
.request-side-card {
  padding: 24px !important;
  border-radius: var(--radius-lg) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid var(--border-default) !important;
  box-shadow: none !important;
}

.request-side-card {
  position: sticky !important;
  top: 24px !important;
}

.request-side-card h3 {
  margin: 18px 0 0 !important;
  color: var(--text-primary) !important;
  font-size: 28px !important;
  line-height: 34px !important;
  letter-spacing: -0.03em !important;
}

.request-side-card > p {
  margin: 14px 0 0 !important;
  color: var(--text-secondary) !important;
  font-size: 15px !important;
  line-height: 26px !important;
}

.request-fieldset {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.request-fieldset legend {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: var(--text-primary) !important;
  font-size: 17px !important;
  line-height: 24px !important;
  font-weight: 700 !important;
}

.request-type-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.request-type-card {
  position: relative !important;
  min-height: 178px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 20px !important;
  overflow: hidden !important;
  border: 1px solid var(--border-default) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  cursor: pointer !important;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease !important;
}

.request-type-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(174, 123, 196, 0.32) !important;
  background: #ffffff !important;
}

.request-type-card input {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--brand-primary) !important;
}

.request-type-card .badge {
  align-self: flex-start !important;
  margin-bottom: 2px !important;
}

.request-type-card strong {
  display: block !important;
  max-width: 430px !important;
  color: var(--text-primary) !important;
  font-size: 20px !important;
  line-height: 28px !important;
  letter-spacing: -0.02em !important;
}

.request-type-card small {
  display: block !important;
  max-width: 470px !important;
  color: var(--text-secondary) !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

.request-type-mini {
  display: block !important;
  margin-top: auto !important;
  padding-top: 8px !important;
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  line-height: 18px !important;
}

.request-type-card-private:has(input:checked) {
  border-color: rgba(34, 197, 94, 0.30) !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(34, 197, 94, 0.055) 100%) !important;
}

.request-type-card-public:has(input:checked) {
  border-color: rgba(174, 123, 196, 0.32) !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 239, 251, 0.84) 100%) !important;
}

.request-mode-helper {
  display: grid !important;
  gap: 12px !important;
  margin: 18px 0 24px !important;
}

.request-mode-note,
.request-upgrade-box {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start !important;
  padding: 16px 18px !important;
  border: 1px solid var(--border-default) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.76) !important;
}

.request-mode-note[hidden],
.request-upgrade-box[hidden] {
  display: none !important;
}

.request-mode-note-private {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(34,197,94,0.055)) !important;
  border-color: rgba(34, 197, 94, 0.18) !important;
}

.request-mode-note-public {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,158,11,0.065)) !important;
  border-color: rgba(245, 158, 11, 0.22) !important;
}

.request-mode-note .badge,
.request-upgrade-box .badge {
  align-self: flex-start !important;
  white-space: nowrap !important;
}

.request-mode-note strong,
.request-upgrade-box strong {
  display: block !important;
  color: var(--text-primary) !important;
  font-size: 16px !important;
  line-height: 23px !important;
}

.request-mode-note p,
.request-upgrade-box p {
  margin: 6px 0 0 !important;
  color: var(--text-secondary) !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

.request-upgrade-box {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 239, 251, 0.86) 100%) !important;
  border-color: rgba(174, 123, 196, 0.20) !important;
}

.request-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.form-field {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.form-field-full {
  grid-column: 1 / -1 !important;
}

.form-field > span,
.form-field > label {
  color: var(--text-primary) !important;
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100% !important;
  min-height: 64px !important;
  padding: 0 22px !important;
  border: 1px solid var(--border-default) !important;
  border-radius: 22px !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  color: var(--text-primary) !important;
  font-size: 15px !important;
  line-height: 22px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

.form-field textarea {
  min-height: 168px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  resize: vertical !important;
}

.form-field select {
  appearance: none !important;
  padding-right: 54px !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%) !important;
  background-position: calc(100% - 26px) 29px, calc(100% - 18px) 29px !important;
  background-size: 8px 8px, 8px 8px !important;
  background-repeat: no-repeat !important;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(154, 139, 162, 0.72) !important;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.custom-select__button:hover,
.custom-select.is-open .custom-select__button {
  border-color: rgba(174, 123, 196, 0.46) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(174, 123, 196, 0.08) !important;
}

.form-consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-top: 24px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(174, 123, 196, 0.14) !important;
  border-radius: 20px !important;
  background: rgba(248, 239, 251, 0.52) !important;
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  line-height: 22px !important;
}

.form-consent input {
  width: 18px !important;
  height: 18px !important;
  margin-top: 2px !important;
  accent-color: var(--brand-primary) !important;
}

.form-consent a {
  margin-left: 6px !important;
  color: var(--brand-primary) !important;
  white-space: nowrap !important;
}

.request-submit-row {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  margin-top: 24px !important;
}

.request-submit-row .text-link {
  margin-top: 0 !important;
  padding-top: 0 !important;
  white-space: nowrap !important;
}

.request-emergency-note {
  margin-top: 20px !important;
  padding: 18px !important;
  border: 1px solid rgba(239, 68, 68, 0.16) !important;
  border-radius: 22px !important;
  background: rgba(239, 68, 68, 0.045) !important;
}

.request-emergency-note p {
  margin: 12px 0 0 !important;
  color: var(--text-secondary) !important;
  font-size: 14px !important;
  line-height: 23px !important;
}

[data-request-private][hidden],
[data-request-public][hidden],
[data-request-panel][hidden] {
  display: none !important;
}

.request-form-card [data-request-public],
.request-form-card [data-request-panel="public"] {
  display: none !important;
}

.request-form-card:has(input[name="request_type"][value="public"]:checked) [data-request-private],
.request-form-card:has(input[name="request_type"][value="public"]:checked) [data-request-panel="private"] {
  display: none !important;
}

.request-form-card:has(input[name="request_type"][value="public"]:checked) [data-request-public],
.request-form-card:has(input[name="request_type"][value="public"]:checked) [data-request-panel="public"] {
  display: grid !important;
}

.has-custom-select > select,
.custom-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-select {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  z-index: 8 !important;
}

.custom-select.is-open {
  z-index: 160 !important;
}

.custom-select__button {
  width: 100% !important;
  min-height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 0 20px 0 22px !important;
  border: 1px solid var(--border-default) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--text-primary) !important;
  text-align: left !important;
  cursor: pointer !important;
}

.custom-select__value {
  overflow: hidden !important;
  color: var(--text-primary) !important;
  font-size: 15px !important;
  line-height: 22px !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.custom-select__arrow {
  width: 10px !important;
  height: 10px !important;
  flex: 0 0 10px !important;
  border-right: 2px solid var(--text-secondary) !important;
  border-bottom: 2px solid var(--text-secondary) !important;
  transform: rotate(45deg) translateY(-2px) !important;
}

.custom-select.is-open .custom-select__arrow {
  transform: rotate(225deg) translateY(-2px) !important;
}

.custom-select__menu {
  position: absolute !important;
  z-index: 180 !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  display: none !important;
  max-height: 282px !important;
  padding: 8px !important;
  overflow: auto !important;
  border: 1px solid var(--border-default) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 42px rgba(69, 55, 84, 0.10) !important;
}

.custom-select.is-open .custom-select__menu {
  display: grid !important;
  gap: 4px !important;
}

.custom-select__option {
  min-height: 44px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: var(--text-primary) !important;
  text-align: left !important;
  cursor: pointer !important;
}

.custom-select__option:hover,
.custom-select__option.is-selected {
  background: var(--section-color-soft) !important;
  color: var(--section-color) !important;
}

.calendar-input-wrap {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr 48px !important;
  align-items: center !important;
  z-index: 20 !important;
}

.calendar-input-wrap input[data-calendar] {
  grid-column: 1 / -1 !important;
  padding-right: 68px !important;
  cursor: pointer !important;
}

.calendar-input-button {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(174, 123, 196, 0.16) !important;
  border-radius: 16px !important;
  background: var(--section-color-soft) !important;
  color: var(--section-color) !important;
  cursor: pointer !important;
  transform: translateY(-50%) !important;
}

.calendar-picker {
  position: absolute !important;
  z-index: 220 !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  width: min(100vw - 48px, 468px) !important;
  display: none !important;
  padding: 20px !important;
  border: 1px solid var(--border-default) !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 54px rgba(69, 55, 84, 0.14) !important;
}

.calendar-picker.is-open {
  display: block !important;
}

.calendar-picker-top {
  display: grid !important;
  grid-template-columns: 44px 1fr 44px !important;
  gap: 12px !important;
  align-items: center !important;
}

.calendar-picker-label {
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  line-height: 18px !important;
  text-align: center !important;
}

.calendar-nav-button {
  width: 44px !important;
  height: 44px !important;
  border: 1px solid var(--border-default) !important;
  border-radius: 50% !important;
  background: var(--surface-white) !important;
  color: var(--text-primary) !important;
  cursor: pointer !important;
}

.calendar-month-title {
  margin: 18px 0 14px !important;
  color: var(--text-primary) !important;
  font-size: 24px !important;
  line-height: 30px !important;
  font-weight: 700 !important;
  text-align: center !important;
  letter-spacing: -0.03em !important;
}

.calendar-weekdays,
.calendar-days {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 4px !important;
}

.calendar-weekdays span {
  height: 32px !important;
  display: grid !important;
  place-items: center !important;
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  line-height: 16px !important;
}

.calendar-day {
  position: relative !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--text-primary) !important;
  cursor: pointer !important;
}

.calendar-day:hover,
.calendar-day.is-hover-range,
.calendar-day.is-hover-end {
  background: rgba(174, 123, 196, 0.14) !important;
  color: var(--section-color) !important;
}

.calendar-day.is-range-start,
.calendar-day.is-range-end,
.calendar-day.is-single-range {
  background: var(--section-color) !important;
  color: #ffffff !important;
}

.calendar-day.is-muted {
  color: rgba(154, 139, 162, 0.42) !important;
}

.calendar-day.is-disabled {
  opacity: 0.34 !important;
  cursor: not-allowed !important;
}

.calendar-actions {
  display: flex !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--border-default) !important;
}

.calendar-action {
  min-height: 44px !important;
  padding: 0 20px !important;
  border-radius: var(--radius-pill) !important;
  cursor: pointer !important;
}

.calendar-action-secondary {
  border: 1px solid var(--border-default) !important;
  background: var(--surface-white) !important;
  color: var(--text-secondary) !important;
}

.calendar-action-primary {
  border: 1px solid var(--brand-primary) !important;
  background: var(--brand-primary) !important;
  color: #ffffff !important;
}

@media (max-width: 1260px) {
  .request-layout {
    grid-template-columns: 1fr !important;
  }

  .request-side-card {
    position: relative !important;
    top: auto !important;
  }
}

@media (max-width: 720px) {
  .request-form-card,
  .request-side-card {
    padding: 20px !important;
  }

  .request-type-grid,
  .request-form-grid {
    grid-template-columns: 1fr !important;
  }

  .request-submit-row,
  .request-upgrade-box {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .request-submit-row .button,
  .request-submit-row .text-link,
  .request-upgrade-box .button {
    width: 100% !important;
  }

  .calendar-picker {
    width: min(100vw - 32px, 420px) !important;
  }
}

/* ===== REQUEST: BEAUTIFUL CHECKBOXES/RADIOS — SAFE PATCH ===== */
.request-page input[type="checkbox"],
.request-page input[type="radio"] {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid rgba(174, 123, 196, 0.34);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.request-page input[type="checkbox"] {
  border-radius: 8px;
}

.request-page input[type="radio"] {
  border-radius: 50%;
}

.request-page input[type="checkbox"]:hover,
.request-page input[type="radio"]:hover {
  border-color: rgba(174, 123, 196, 0.62);
  box-shadow: 0 0 0 4px rgba(174, 123, 196, 0.07);
}

.request-page input[type="checkbox"]:checked {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='11' viewBox='0 0 14 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.4 5.7L5.2 9.1L12.6 1.5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 10px;
}

.request-page input[type="radio"]:checked {
  border-color: var(--brand-primary);
  background-color: #ffffff;
  box-shadow: inset 0 0 0 5px var(--brand-primary), 0 0 0 4px rgba(174, 123, 196, 0.08);
}

.request-page input[type="checkbox"]:focus-visible,
.request-page input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(174, 123, 196, 0.12);
}

.request-page .request-type-card {
  padding-right: 58px;
}

.request-page .request-type-card input[type="radio"] {
  position: absolute;
  top: 20px;
  right: 20px;
}

.request-page .request-type-card:has(input:checked) {
  border-color: rgba(174, 123, 196, 0.44);
}

.request-page .form-consent {
  cursor: pointer;
}

.request-page .form-consent:has(input:checked) {
  border-color: rgba(174, 123, 196, 0.38);
  background: #ffffff;
}

/* Keep native selects hidden only after JS builds the custom select. */
.request-page .has-custom-select > select,
.request-page .custom-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
}

/* ===== REQUEST FINAL PASS — SAFE POLISH ===== */
.request-page {
  overflow-x: clip !important;
}

.request-page .request-hero-card {
  align-items: stretch !important;
}

.request-page .page-hero-panel {
  min-width: 0 !important;
}

.request-page .page-step {
  min-width: 0 !important;
}

.request-page .page-step p {
  overflow-wrap: anywhere !important;
}

.request-page .request-layout,
.request-page .request-form-card,
.request-page .request-side-card,
.request-page .choose-format-card,
.request-page .format-option {
  min-width: 0 !important;
}

.request-page .request-form-card {
  position: relative !important;
}

.request-page .request-side-card {
  top: 132px !important;
}

.request-page .form-field input:required:invalid:not(:placeholder-shown),
.request-page .form-field textarea:required:invalid:not(:placeholder-shown),
.request-page .form-field select:required:invalid {
  border-color: rgba(239, 68, 68, 0.22) !important;
}

.request-page .form-field input:focus,
.request-page .form-field textarea:focus,
.request-page .form-field select:focus,
.request-page .custom-select__button:focus-visible {
  border-color: rgba(174, 123, 196, 0.52) !important;
  box-shadow: 0 0 0 4px rgba(174, 123, 196, 0.08) !important;
}

.request-page .calendar-input-wrap {
  width: 100% !important;
  min-width: 0 !important;
}

.request-page .calendar-input-button span {
  display: inline-block !important;
  color: currentColor !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}

.request-page .calendar-day.is-start,
.request-page .calendar-day.is-end {
  background: var(--section-color) !important;
  color: #ffffff !important;
}

.request-page .calendar-day.is-today:not(.is-start):not(.is-end) {
  box-shadow: inset 0 0 0 1px rgba(174, 123, 196, 0.36) !important;
}

.request-form-state {
  display: grid !important;
  gap: 8px !important;
  margin-top: 22px !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(34, 197, 94, 0.20) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(34,197,94,0.055)) !important;
}

.request-form-state[hidden] {
  display: none !important;
}

.request-form-state strong {
  color: var(--text-primary) !important;
  font-size: 16px !important;
  line-height: 23px !important;
}

.request-form-state p {
  margin: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 14px !important;
  line-height: 23px !important;
}

.request-page .request-submit-row .button,
.request-page .request-upgrade-box .button,
.request-page .cta-actions .button {
  min-width: 0 !important;
  white-space: normal !important;
  text-align: center !important;
}

@media (max-width: 980px) {
  .request-page .request-side-card {
    top: auto !important;
  }

  .request-page .request-upgrade-box {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }
}

@media (max-width: 560px) {
  .request-page .request-form-card,
  .request-page .request-side-card {
    padding: 18px !important;
    border-radius: 26px !important;
  }

  .request-page .request-type-card {
    min-height: auto !important;
    padding: 18px 52px 18px 18px !important;
  }

  .request-page .request-type-card strong {
    font-size: 18px !important;
    line-height: 25px !important;
  }

  .request-page .request-mode-note,
  .request-page .request-upgrade-box {
    grid-template-columns: 1fr !important;
  }

  .request-page .request-mode-note .badge,
  .request-page .request-upgrade-box .badge {
    width: fit-content !important;
    white-space: normal !important;
  }

  .request-page .calendar-picker {
    left: 50% !important;
    width: min(100vw - 28px, 386px) !important;
    transform: translateX(-50%) !important;
  }

  .request-page .calendar-picker-top {
    grid-template-columns: 40px 1fr 40px !important;
  }

  .request-page .calendar-day {
    height: 38px !important;
    border-radius: 12px !important;
  }
}

.trust-chip {
  height: 36px;
  margin-top: 20px;
  padding: 0 14px;
}


/* hard-fix: custom select should never show native browser dropdown */
.has-custom-select > select,
.custom-native-select {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
}

.specialist-blog-editor-form .has-custom-select {
  position: relative;
}

.specialist-blog-editor-form .custom-select {
  position: relative;
  width: 100%;
  min-width: 0;
  z-index: 8;
}

.specialist-blog-editor-form .custom-select.is-open {
  z-index: 160;
}

.specialist-blog-editor-form .custom-select__button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px 0 22px;
  border: 1px solid rgba(231, 213, 226, 0.94);
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.specialist-blog-editor-form .custom-select__value {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 22px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.specialist-blog-editor-form .custom-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 282px;
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(231, 213, 226, 0.94);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(69, 55, 84, 0.10);
}

.specialist-blog-editor-form .custom-select.is-open .custom-select__menu {
  display: grid;
  gap: 4px;
}

/* =========================================================
   Request page — guided request experience
   Scoped only to request.html. Does not change global layout.
========================================================= */

.request-experience {
  display: grid !important;
  gap: 18px !important;
  margin-bottom: 20px !important;
}

.request-choice-intro {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}

.request-choice-intro .badge {
  width: fit-content !important;
}

.request-choice-intro strong {
  display: block !important;
  color: var(--text-primary) !important;
  font-size: clamp(25px, 3vw, 36px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.04em !important;
}

.request-choice-intro small {
  display: block !important;
  max-width: 720px !important;
  color: var(--text-secondary) !important;
  font-size: 15px !important;
  line-height: 25px !important;
}

.request-depth-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.request-depth-card {
  position: relative !important;
  min-width: 0 !important;
  min-height: 206px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 22px !important;
  overflow: hidden !important;
  border: 1px solid rgba(231, 213, 226, 0.92) !important;
  border-radius: 30px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.76)) !important;
  box-shadow: 0 18px 48px rgba(69, 55, 84, 0.045) !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.request-depth-card::before {
  content: "" !important;
  position: absolute !important;
  inset: auto -42px -52px auto !important;
  width: 160px !important;
  height: 160px !important;
  border-radius: 999px !important;
  background: rgba(207, 226, 255, 0.34) !important;
  pointer-events: none !important;
}

.request-depth-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(174, 123, 196, 0.30) !important;
  box-shadow: 0 24px 60px rgba(69, 55, 84, 0.075) !important;
}

.request-depth-card--primary {
  grid-row: span 2 !important;
  min-height: 428px !important;
  padding: 28px !important;
  background:
    radial-gradient(circle at 88% 14%, rgba(244, 190, 216, 0.26), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, rgba(248, 239, 251, 0.88) 100%) !important;
}

.request-depth-card--primary::before {
  width: 240px !important;
  height: 240px !important;
  background: rgba(244, 190, 216, 0.32) !important;
}

.request-depth-card--secondary {
  background:
    radial-gradient(circle at 94% 0%, rgba(207, 226, 255, 0.28), transparent 36%),
    rgba(255,255,255,0.88) !important;
}

.request-depth-card--public {
  background:
    radial-gradient(circle at 96% 4%, rgba(255, 247, 222, 0.42), transparent 36%),
    rgba(255,255,255,0.84) !important;
}

.request-depth-card.is-active {
  transform: translateY(-2px) !important;
  border-color: rgba(174, 123, 196, 0.54) !important;
  box-shadow: 0 26px 70px rgba(174, 123, 196, 0.16) !important;
}

.request-depth-card--primary.is-active {
  border-color: rgba(174, 123, 196, 0.64) !important;
  box-shadow: 0 30px 78px rgba(174, 123, 196, 0.18), 0 0 0 6px rgba(248, 239, 251, 0.86) !important;
}

.request-depth-radio {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.request-depth-badge {
  position: relative !important;
  z-index: 1 !important;
  width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(174, 123, 196, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(248, 239, 251, 0.78) !important;
  color: var(--section-color) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.request-depth-card--public .request-depth-badge {
  background: rgba(255, 247, 222, 0.78) !important;
  color: #a66b16 !important;
  border-color: rgba(245, 158, 11, 0.18) !important;
}

.request-depth-icon {
  position: absolute !important;
  z-index: 0 !important;
  right: 20px !important;
  top: 18px !important;
  width: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.70) !important;
  color: var(--section-color) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.request-depth-title,
.request-depth-text,
.request-depth-points {
  position: relative !important;
  z-index: 1 !important;
}

.request-depth-title {
  display: block !important;
  max-width: 460px !important;
  color: var(--text-primary) !important;
  font-size: 22px !important;
  line-height: 30px !important;
  letter-spacing: -0.035em !important;
}

.request-depth-card--primary .request-depth-title {
  margin-top: auto !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.1 !important;
  max-width: 520px !important;
}

.request-depth-text {
  display: block !important;
  max-width: 560px !important;
  color: var(--text-secondary) !important;
  font-size: 14px !important;
  line-height: 23px !important;
}

.request-depth-card--primary .request-depth-text {
  font-size: 15px !important;
  line-height: 26px !important;
}

.request-depth-points {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 8px !important;
}

.request-depth-points span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(174, 123, 196, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.62) !important;
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
}

.request-depth-card.is-active .request-depth-points span {
  background: rgba(255,255,255,0.84) !important;
  border-color: rgba(174, 123, 196, 0.18) !important;
}

.request-mode-private .request-mode-note--private,
.request-mode-public .request-mode-note--public {
  animation: requestSoftIn 0.22s ease both !important;
}

.request-form-section {
  min-width: 0 !important;
}

.request-public-only[hidden],
.request-private-only[hidden] {
  display: none !important;
}

.request-sidebar-panel {
  background:
    radial-gradient(circle at 92% 4%, rgba(248, 239, 251, 0.72), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.90)) !important;
}

.request-sidebar-panel .info-row {
  position: relative !important;
  padding-left: 40px !important;
}

.request-sidebar-panel .info-row::before {
  content: "✓" !important;
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(174, 123, 196, 0.10) !important;
  color: var(--section-color) !important;
  font-size: 11px !important;
  transform: translateY(-50%) !important;
}

@keyframes requestSoftIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .request-depth-card,
  .request-mode-note--private,
  .request-mode-note--public {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  .request-depth-grid {
    grid-template-columns: 1fr !important;
  }

  .request-depth-card--primary {
    grid-row: auto !important;
    min-height: 300px !important;
  }
}

@media (max-width: 980px) {
  .request-layout {
    grid-template-columns: 1fr !important;
  }

  .request-side-card {
    position: static !important;
  }
}

@media (max-width: 560px) {
  .request-choice-intro strong {
    font-size: 25px !important;
    line-height: 31px !important;
  }

  .request-depth-card,
  .request-depth-card--primary {
    min-height: auto !important;
    padding: 20px !important;
    border-radius: 26px !important;
  }

  .request-depth-card--primary .request-depth-title,
  .request-depth-title {
    margin-top: 20px !important;
    font-size: 22px !important;
    line-height: 29px !important;
  }

  .request-depth-icon {
    width: 42px !important;
    height: 42px !important;
    right: 16px !important;
    top: 16px !important;
    border-radius: 16px !important;
  }

  .request-depth-points {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .request-depth-points span {
    width: fit-content !important;
  }
}

/* =========================================================
   Request page — product UX final polish
   Focus: paid path as main scenario, softer public option,
   better flow and compact conversion-focused form order.
========================================================= */

.request-form-card {
  gap: 22px !important;
}

.request-flow-kicker {
  width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(174, 123, 196, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--section-color) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}

.request-depth-card {
  isolation: isolate !important;
}

.request-depth-card--primary {
  border-color: rgba(174, 123, 196, 0.38) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 190, 216, 0.36), transparent 32%),
    radial-gradient(circle at 4% 92%, rgba(207, 226, 255, 0.42), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fbf2fb 58%, #f4edff 100%) !important;
  box-shadow: 0 30px 90px rgba(174, 123, 196, 0.16) !important;
}

.request-depth-card--primary::after {
  content: "" !important;
  position: absolute !important;
  inset: 12px !important;
  z-index: -1 !important;
  border: 1px solid rgba(255,255,255,0.74) !important;
  border-radius: 24px !important;
  pointer-events: none !important;
}

.request-depth-card--primary:hover,
.request-depth-card--primary.is-active {
  transform: translateY(-4px) !important;
  border-color: rgba(174, 123, 196, 0.72) !important;
  box-shadow: 0 34px 96px rgba(174, 123, 196, 0.22), 0 0 0 7px rgba(248, 239, 251, 0.92) !important;
}

.request-depth-check {
  position: absolute !important;
  z-index: 3 !important;
  top: 18px !important;
  right: 18px !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  border: 1px solid rgba(174, 123, 196, 0.16) !important;
  background: rgba(255,255,255,0.86) !important;
  color: transparent !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 24px rgba(69, 55, 84, 0.06) !important;
}

.request-depth-card.is-active .request-depth-check {
  background: linear-gradient(135deg, var(--section-color), #c98bcf) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.request-depth-card--primary .request-depth-check {
  width: 34px !important;
  height: 34px !important;
  top: 22px !important;
  right: 22px !important;
}

.request-depth-card--primary .request-depth-icon {
  top: 68px !important;
  right: 24px !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,0.76) !important;
}

.request-depth-card--primary .request-depth-title {
  margin-top: auto !important;
  padding-right: 44px !important;
}

.request-depth-proof {
  position: relative !important;
  z-index: 1 !important;
  width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 36px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(174, 123, 196, 0.14) !important;
  background: rgba(255,255,255,0.78) !important;
  color: var(--section-color) !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 800 !important;
}

.request-depth-proof::before {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 auto !important;
  border-radius: 999px !important;
  background: #b783c6 !important;
  box-shadow: 0 0 0 5px rgba(183, 131, 198, 0.12) !important;
}

.request-depth-card--public {
  opacity: 0.78 !important;
  border-color: rgba(231, 213, 226, 0.58) !important;
  background: rgba(255,255,255,0.62) !important;
  box-shadow: 0 14px 38px rgba(69, 55, 84, 0.035) !important;
}

.request-depth-card--public::before {
  opacity: 0.24 !important;
}

.request-depth-card--public .request-depth-badge {
  background: rgba(255,255,255,0.64) !important;
  border-color: rgba(231, 213, 226, 0.68) !important;
  color: rgba(116, 93, 128, 0.78) !important;
}

.request-depth-card--public .request-depth-title,
.request-depth-card--public .request-depth-text,
.request-depth-card--public .request-depth-points span {
  color: rgba(71, 59, 84, 0.72) !important;
}

.request-depth-card--public:hover,
.request-depth-card--public.is-active {
  opacity: 1 !important;
  border-color: rgba(245, 158, 11, 0.24) !important;
  box-shadow: 0 20px 52px rgba(69, 55, 84, 0.06) !important;
}

.request-mode-helper--product {
  margin: 2px 0 4px !important;
}

.request-mode-helper--product .request-mode-note {
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 20px !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 50px rgba(69, 55, 84, 0.045) !important;
}

.request-mode-helper--product .request-mode-note strong {
  display: block !important;
  margin-bottom: 7px !important;
  font-size: 18px !important;
  line-height: 25px !important;
  letter-spacing: -0.025em !important;
}

.request-mode-helper--product .request-mode-note p {
  margin: 0 !important;
}

.request-mode-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.request-mode-list li {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 32px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(174, 123, 196, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.68) !important;
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 700 !important;
}

.request-mode-list li::before {
  content: "✓" !important;
  color: var(--section-color) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.request-mode-note--public .request-mode-list li::before {
  content: "•" !important;
  color: #b98231 !important;
}

.request-form-section {
  display: grid !important;
  gap: 16px !important;
  padding: 20px !important;
  border: 1px solid rgba(231, 213, 226, 0.72) !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,0.68) !important;
}

.request-story-section {
  background:
    radial-gradient(circle at 94% 4%, rgba(207, 226, 255, 0.28), transparent 36%),
    rgba(255,255,255,0.78) !important;
}

.request-section-intro {
  display: grid !important;
  gap: 7px !important;
}

.request-section-intro > span {
  width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(174, 123, 196, 0.12) !important;
  background: rgba(248, 239, 251, 0.74) !important;
  color: var(--section-color) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

.request-section-intro h3 {
  margin: 0 !important;
  color: var(--text-primary) !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.035em !important;
}

.request-section-intro p {
  max-width: 760px !important;
  margin: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 14px !important;
  line-height: 23px !important;
}

.request-section-intro--compact h3 {
  font-size: 21px !important;
}

.request-story-grid,
.request-details-grid {
  margin-top: 0 !important;
}

.request-message-field textarea {
  min-height: 176px !important;
  background: rgba(255,255,255,0.88) !important;
}

.request-form-card.is-switching [data-request-transition],
.request-form-card.is-switching .request-mode-helper {
  animation: requestProductSwitch 0.24s ease both !important;
}

@keyframes requestProductSwitch {
  from { opacity: 0.62; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .request-form-card.is-switching [data-request-transition],
  .request-form-card.is-switching .request-mode-helper {
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  .request-depth-card--primary .request-depth-title {
    margin-top: 72px !important;
  }
}

@media (max-width: 720px) {
  .request-form-section {
    padding: 16px !important;
    border-radius: 24px !important;
  }

  .request-flow-kicker {
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 17px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .request-depth-card--primary .request-depth-icon {
    top: 58px !important;
    right: 18px !important;
  }

  .request-depth-check,
  .request-depth-card--primary .request-depth-check {
    top: 16px !important;
    right: 16px !important;
  }

  .request-depth-card--primary .request-depth-title {
    margin-top: 58px !important;
    padding-right: 0 !important;
  }

  .request-mode-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   Request page — visual collision and spacing fix
   Scope: request.html only. Fixes card overlaps, cramped sidebar,
   and uneven spacing after product UX update.
========================================================= */

.request-page .request-layout {
  grid-template-columns: minmax(0, 820px) minmax(320px, 360px) !important;
  gap: 28px !important;
  align-items: start !important;
}

.request-page .request-form-card {
  overflow: visible !important;
  gap: 20px !important;
}

.request-page .request-experience {
  margin-bottom: 0 !important;
}

.request-page .request-choice-intro {
  gap: 9px !important;
  padding-right: 0 !important;
}

.request-page .request-choice-intro .badge {
  margin-top: 2px !important;
}

.request-page .request-depth-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr) !important;
  grid-template-areas:
    "primary extended"
    "primary public" !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.request-page .request-depth-card--primary {
  grid-area: primary !important;
}

.request-page .request-depth-card--secondary {
  grid-area: extended !important;
}

.request-page .request-depth-card--public {
  grid-area: public !important;
}

.request-page .request-depth-card {
  min-height: 188px !important;
  padding: 20px !important;
  gap: 10px !important;
  overflow: hidden !important;
}

.request-page .request-depth-card--primary {
  min-height: 392px !important;
  padding: 26px !important;
  gap: 13px !important;
}

.request-page .request-depth-check {
  top: 16px !important;
  right: 16px !important;
  z-index: 6 !important;
}

.request-page .request-depth-card--primary .request-depth-check {
  top: 20px !important;
  right: 20px !important;
}

.request-page .request-depth-icon,
.request-page .request-depth-card--primary .request-depth-icon {
  top: auto !important;
  right: 16px !important;
  bottom: 16px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 16px !important;
  opacity: 0.42 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.request-page .request-depth-card--primary .request-depth-icon {
  right: 22px !important;
  bottom: 22px !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 22px !important;
  opacity: 0.48 !important;
}

.request-page .request-depth-badge {
  max-width: calc(100% - 48px) !important;
  min-height: 32px !important;
  padding: 0 11px !important;
  white-space: nowrap !important;
}

.request-page .request-depth-title {
  margin: 8px 0 0 !important;
  padding-right: 34px !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
  letter-spacing: -0.035em !important;
}

.request-page .request-depth-card--primary .request-depth-title {
  margin-top: 22px !important;
  padding-right: 54px !important;
  font-size: clamp(30px, 3vw, 38px) !important;
  line-height: 1.08 !important;
  max-width: 520px !important;
}

.request-page .request-depth-text {
  max-width: 100% !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.request-page .request-depth-card--primary .request-depth-text {
  max-width: 470px !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.request-page .request-depth-proof {
  max-width: 100% !important;
  min-height: 32px !important;
  padding: 6px 12px !important;
  white-space: normal !important;
}

.request-page .request-depth-points {
  margin-top: 6px !important;
  padding-top: 0 !important;
  gap: 7px !important;
}

.request-page .request-depth-card--primary .request-depth-points {
  margin-top: 12px !important;
  padding-right: 54px !important;
}

.request-page .request-depth-points span {
  min-height: 28px !important;
  padding: 6px 10px !important;
  line-height: 15px !important;
  white-space: normal !important;
}

.request-page .request-depth-card--public {
  opacity: 0.86 !important;
}

.request-page .request-mode-helper--product {
  margin: 0 !important;
}

.request-page .request-mode-helper--product .request-mode-note,
.request-page .request-upgrade-box {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding: 18px !important;
  border-radius: 24px !important;
}

.request-page .request-mode-helper--product .request-mode-note .badge,
.request-page .request-upgrade-box .badge {
  justify-self: start !important;
  max-width: 100% !important;
  white-space: normal !important;
}

.request-page .request-upgrade-box .button {
  justify-self: start !important;
  min-height: 44px !important;
  padding-inline: 18px !important;
}

.request-page .request-form-section {
  gap: 18px !important;
  padding: 20px !important;
  border-radius: 28px !important;
}

.request-page .request-section-intro {
  gap: 8px !important;
}

.request-page .request-section-intro > span {
  max-width: 100% !important;
  white-space: normal !important;
  line-height: 16px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

.request-page .request-section-intro h3 {
  max-width: 720px !important;
}

.request-page .request-message-field textarea {
  min-height: 190px !important;
  resize: vertical !important;
}

.request-page .request-details-grid {
  gap: 16px !important;
}

.request-page .form-consent {
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(231, 213, 226, 0.72) !important;
}

.request-page .form-consent input {
  margin-top: 3px !important;
  flex: 0 0 auto !important;
}

.request-page .request-submit-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.request-page .request-side-card {
  display: grid !important;
  gap: 14px !important;
  padding: 24px !important;
  overflow: hidden !important;
}

.request-page .request-side-card h3,
.request-page .request-side-card > p {
  margin: 0 !important;
}

.request-page .request-side-card h3 {
  font-size: 26px !important;
  line-height: 1.16 !important;
}

.request-page .request-side-card > p {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.request-page .request-info-rows {
  display: grid !important;
  gap: 10px !important;
  margin: 2px 0 0 !important;
}

.request-page .request-sidebar-panel .info-row {
  min-height: auto !important;
  padding: 13px 14px 13px 42px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.68) !important;
  border: 1px solid rgba(231, 213, 226, 0.58) !important;
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.request-page .request-sidebar-panel .info-row::before {
  top: 14px !important;
  transform: none !important;
}

.request-page .request-emergency-note {
  display: grid !important;
  gap: 9px !important;
  margin-top: 2px !important;
  padding: 14px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(245, 158, 11, 0.22) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,247,222,0.72)) !important;
}

.request-page .request-emergency-note .badge {
  justify-self: start !important;
}

.request-page .request-emergency-note p {
  margin: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

@media (max-width: 1180px) {
  .request-page .request-layout {
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 22px !important;
  }

  .request-page .request-depth-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "primary"
      "extended"
      "public" !important;
  }

  .request-page .request-depth-card--primary,
  .request-page .request-depth-card {
    min-height: auto !important;
  }

  .request-page .request-depth-card--primary .request-depth-title {
    margin-top: 18px !important;
  }
}

@media (max-width: 980px) {
  .request-page .request-layout {
    grid-template-columns: 1fr !important;
  }

  .request-page .request-side-card {
    position: static !important;
  }
}

@media (max-width: 720px) {
  .request-page .request-form-card,
  .request-page .request-side-card {
    padding: 18px !important;
    border-radius: 26px !important;
  }

  .request-page .request-depth-card,
  .request-page .request-depth-card--primary {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .request-page .request-depth-card--primary .request-depth-title,
  .request-page .request-depth-title {
    margin-top: 12px !important;
    padding-right: 38px !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .request-page .request-depth-card--primary .request-depth-text {
    font-size: 13px !important;
  }

  .request-page .request-depth-card--primary .request-depth-points {
    padding-right: 0 !important;
  }

  .request-page .request-form-grid,
  .request-page .request-details-grid {
    grid-template-columns: 1fr !important;
  }

  .request-page .request-upgrade-box .button,
  .request-page .request-submit-row .button {
    width: 100% !important;
  }
}

/* =========================================================
   Request page — final visibility and spacing hardfix
   fixes double helper panels, collapsed gaps, and overlap
========================================================= */

/* 1) Hidden must always win over any older display:grid rules */
.request-page [hidden],
.request-page [data-request-panel][hidden],
.request-page [data-request-private][hidden],
.request-page [data-request-public][hidden],
.request-page .request-mode-note[hidden],
.request-page .request-upgrade-box[hidden],
.request-page .request-public-only[hidden],
.request-page .request-private-only[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2) Mode-specific panels: never show both notes at once */
.request-page .request-layout.request-mode-private [data-request-panel="public"],
.request-page .request-form-card.request-mode-private [data-request-panel="public"],
.request-page .request-layout.request-mode-public [data-request-panel="private"],
.request-page .request-form-card.request-mode-public [data-request-panel="private"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.request-page .request-layout.request-mode-private [data-request-panel="private"]:not([hidden]),
.request-page .request-form-card.request-mode-private [data-request-panel="private"]:not([hidden]),
.request-page .request-layout.request-mode-public [data-request-panel="public"]:not([hidden]),
.request-page .request-form-card.request-mode-public [data-request-panel="public"]:not([hidden]) {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 3) The switcher area needs real breathing room */
.request-page .request-experience {
  margin: 0 0 18px !important;
  padding-bottom: 0 !important;
}

.request-page .request-depth-grid {
  gap: 18px !important;
  margin-bottom: 0 !important;
  align-items: stretch !important;
}

.request-page .request-mode-helper--product {
  margin: 20px 0 24px !important;
  gap: 14px !important;
}

.request-page .request-mode-helper--product .request-mode-note:not([hidden]) {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px 14px !important;
  padding: 16px 18px !important;
  border-radius: 24px !important;
  min-height: auto !important;
}

.request-page .request-mode-helper--product .request-mode-note:not([hidden]) > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 8px !important;
}

.request-page .request-mode-helper--product .request-mode-note:not([hidden]) .badge {
  margin: 0 !important;
  justify-self: start !important;
  white-space: nowrap !important;
}

.request-page .request-mode-helper--product .request-mode-note:not([hidden]) strong,
.request-page .request-mode-helper--product .request-mode-note:not([hidden]) p,
.request-page .request-mode-helper--product .request-mode-note:not([hidden]) ul {
  margin: 0 !important;
}

.request-page .request-mode-list {
  gap: 8px !important;
  margin-top: 4px !important;
}

.request-page .request-mode-list li {
  min-height: 28px !important;
  padding: 5px 10px !important;
  line-height: 1.2 !important;
}

/* 4) Form sections: no sticking between blocks */
.request-page .request-story-section {
  margin-top: 0 !important;
}

.request-page .request-form-section + .request-form-section {
  margin-top: 22px !important;
}

.request-page .request-form-section {
  padding: 22px !important;
  gap: 18px !important;
  overflow: visible !important;
}

.request-page .request-section-intro {
  gap: 9px !important;
  margin: 0 !important;
}

.request-page .request-section-intro > span,
.request-page .request-section-intro > .badge {
  margin: 0 !important;
  justify-self: start !important;
}

.request-page .request-section-intro h3,
.request-page .request-section-intro p {
  margin: 0 !important;
}

.request-page .request-form-grid,
.request-page .request-details-grid {
  gap: 16px !important;
}

.request-page .request-message-field textarea {
  min-height: 190px !important;
}

/* 5) Choice cards: remove visual collisions */
.request-page .request-depth-card {
  position: relative !important;
  min-width: 0 !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.request-page .request-depth-check {
  z-index: 5 !important;
  top: 18px !important;
  right: 18px !important;
}

.request-page .request-depth-icon {
  z-index: 0 !important;
  right: 18px !important;
  bottom: 18px !important;
  top: auto !important;
  opacity: 0.72 !important;
}

.request-page .request-depth-card--primary .request-depth-check {
  top: 20px !important;
  right: 20px !important;
}

.request-page .request-depth-card--primary .request-depth-icon {
  right: 22px !important;
  bottom: 22px !important;
  top: auto !important;
}

.request-page .request-depth-title,
.request-page .request-depth-text,
.request-page .request-depth-proof,
.request-page .request-depth-points {
  position: relative !important;
  z-index: 2 !important;
}

.request-page .request-depth-card--primary .request-depth-title {
  margin-top: 42px !important;
  padding-right: 52px !important;
}

.request-page .request-depth-card--primary .request-depth-points {
  margin-top: 12px !important;
  padding-right: 68px !important;
}

.request-page .request-depth-card--secondary,
.request-page .request-depth-card--public {
  gap: 11px !important;
}

.request-page .request-depth-card--secondary .request-depth-title,
.request-page .request-depth-card--public .request-depth-title {
  padding-right: 42px !important;
}

.request-page .request-depth-points span {
  white-space: normal !important;
  color: var(--text-secondary) !important;
}

/* 6) Public upsell shows only in public mode */
.request-page .request-layout.request-mode-private .request-upgrade-box,
.request-page .request-form-card.request-mode-private .request-upgrade-box {
  display: none !important;
}

.request-page .request-layout.request-mode-public .request-upgrade-box:not([hidden]),
.request-page .request-form-card.request-mode-public .request-upgrade-box:not([hidden]) {
  display: grid !important;
  margin: 16px 0 22px !important;
}

@media (max-width: 1180px) {
  .request-page .request-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .request-page .request-side-card {
    position: static !important;
  }

  .request-page .request-depth-card--primary .request-depth-title {
    margin-top: 20px !important;
  }
}

@media (max-width: 720px) {
  .request-page .request-depth-grid {
    gap: 14px !important;
  }

  .request-page .request-mode-helper--product {
    margin: 16px 0 20px !important;
  }

  .request-page .request-mode-helper--product .request-mode-note:not([hidden]) {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  .request-page .request-depth-card,
  .request-page .request-depth-card--primary {
    padding: 18px !important;
  }

  .request-page .request-depth-card--primary .request-depth-title {
    margin-top: 18px !important;
    padding-right: 40px !important;
  }

  .request-page .request-depth-card--primary .request-depth-points {
    padding-right: 0 !important;
  }

  .request-page .request-form-section {
    padding: 16px !important;
    gap: 16px !important;
  }

  .request-page .request-form-section + .request-form-section {
    margin-top: 18px !important;
  }
}

/* Backend request connection state — scoped only to request.html */
.request-form-state.is-error {
  border-color: rgba(239, 68, 68, 0.22) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,68,68,0.06)) !important;
}

.request-form-state.is-success {
  border-color: rgba(34, 197, 94, 0.22) !important;
}

.request-submit-row .button.is-loading {
  opacity: 0.74 !important;
  pointer-events: none !important;
}


/* Backend request result visibility fix — scoped only to request.html */
.request-page .request-form-state.request-form-state--backend {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 18px 0 0 !important;
  padding: 18px 20px !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 38px rgba(121, 72, 95, 0.08) !important;
}

.request-page .request-form-state.request-form-state--backend.is-success {
  border-color: rgba(34, 197, 94, 0.28) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(34,197,94,0.08)) !important;
}

.request-page .request-form-state.request-form-state--backend.is-error {
  border-color: rgba(239, 68, 68, 0.28) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,68,68,0.08)) !important;
}

.request-page .request-form-state.request-form-state--backend strong {
  display: block !important;
  color: var(--text-primary) !important;
}

.request-page .request-form-state.request-form-state--backend p {
  display: block !important;
  margin: 0 !important;
  color: var(--text-secondary) !important;
}

.request-page .request-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.request-page .request-result-actions[hidden] {
  display: none !important;
}


/* Backend specialist select card */
.request-selected-specialist-card {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(188, 154, 112, .22);
  background: rgba(255, 250, 244, .78);
  box-shadow: 0 12px 28px rgba(72, 47, 28, .06);
}

.request-selected-specialist-card[hidden] {
  display: none;
}

.request-selected-specialist-card strong {
  color: var(--color-text, #3b2f2b);
  font-size: .98rem;
  line-height: 1.25;
}

.request-selected-specialist-card small,
.request-selected-specialist-card p {
  margin: 0;
  color: var(--color-muted, #7a6f68);
  font-size: .88rem;
  line-height: 1.45;
}

.request-selected-specialist-card .badge {
  justify-self: start;
}

/* =========================================================
   VRO_FRONTEND_FINAL_POLISH_PASS — request.html scoped polish
   Keeps the paid/free request experience and backend form logic intact.
========================================================= */

.request-page,
.request-page * {
  min-width: 0;
  box-sizing: border-box;
}

.request-page {
  overflow-x: clip;
}

.request-page .container {
  width: min(calc(100% - 32px), var(--container));
}

.request-page .request-hero-card,
.request-page .request-layout,
.request-page .request-form-card,
.request-page .request-side-card,
.request-page .choose-format-card,
.request-page .format-option,
.request-page .request-depth-card,
.request-page .request-mode-note,
.request-page .request-upgrade-box,
.request-page .request-form-section,
.request-page .request-emergency-note {
  max-width: 100%;
  overflow: hidden;
}

.request-page .request-depth-title,
.request-page .request-depth-text,
.request-page .request-depth-proof,
.request-page .request-depth-points span,
.request-page .request-section-intro h3,
.request-page .request-side-card h3,
.request-page .request-side-card p,
.request-page .request-form-state,
.request-page .request-selected-specialist-card {
  overflow-wrap: anywhere;
}

.request-page .request-depth-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .94fr) minmax(0, .94fr);
  align-items: stretch;
}

.request-page .request-depth-card {
  height: 100%;
}

.request-page .request-form-grid,
.request-page .request-details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-page .form-field-full,
.request-page .request-message-field,
.request-page .request-section-intro,
.request-page .request-submit-row,
.request-page .request-form-state,
.request-page .request-selected-specialist-card {
  grid-column: 1 / -1;
}

.request-page .form-field input,
.request-page .form-field textarea,
.request-page .form-field select,
.request-page .custom-select,
.request-page .custom-select__button {
  width: 100%;
  max-width: 100%;
}

.request-page .request-submit-row,
.request-page .request-upgrade-box,
.request-page .request-result-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.request-page .request-submit-row .button,
.request-page .request-upgrade-box .button,
.request-page .request-result-actions .button {
  min-width: min(220px, 100%);
}

.request-page .form-consent {
  align-items: flex-start;
}

.request-page .form-consent input {
  flex: 0 0 auto;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .request-page .request-layout,
  .request-page .choose-format-card {
    grid-template-columns: 1fr !important;
  }

  .request-page .request-side-card {
    position: static !important;
    top: auto !important;
  }

  .request-page .request-depth-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .request-page .container {
    width: min(calc(100% - 24px), var(--container)) !important;
  }

  .request-page .request-hero-card,
  .request-page .request-form-card,
  .request-page .request-side-card,
  .request-page .choose-format-card,
  .request-page .format-option,
  .request-page .request-depth-card,
  .request-page .request-mode-note,
  .request-page .request-upgrade-box,
  .request-page .request-form-section,
  .request-page .request-emergency-note {
    border-radius: 24px !important;
    padding: 18px !important;
  }

  .request-page .request-form-grid,
  .request-page .request-details-grid,
  .request-page .format-options {
    grid-template-columns: 1fr !important;
  }

  .request-page .request-submit-row,
  .request-page .request-upgrade-box,
  .request-page .request-result-actions,
  .request-page .cta-actions,
  .request-page .hero-actions,
  .request-page .page-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    align-items: stretch !important;
  }

  .request-page .request-submit-row .button,
  .request-page .request-submit-row .text-link,
  .request-page .request-upgrade-box .button,
  .request-page .request-result-actions .button,
  .request-page .cta-actions .button,
  .request-page .hero-actions .button,
  .request-page .page-hero-actions .button {
    width: 100% !important;
  }

  .request-page .request-depth-points {
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .request-page .container {
    width: min(calc(100% - 18px), var(--container)) !important;
  }

  .request-page .request-hero-card,
  .request-page .request-form-card,
  .request-page .request-side-card,
  .request-page .request-depth-card,
  .request-page .request-mode-note,
  .request-page .request-upgrade-box,
  .request-page .request-form-section {
    padding: 16px !important;
  }

  .request-page .request-depth-title {
    font-size: clamp(20px, 7vw, 28px) !important;
  }

  .request-page .request-depth-card--primary .request-depth-title {
    font-size: clamp(24px, 8vw, 34px) !important;
  }

  .request-page .request-section-intro h3 {
    font-size: clamp(22px, 8vw, 30px) !important;
  }
}
