.order-launch {
  position: fixed;
  z-index: 8;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-height: 48px;
  padding: 11px 22px;
  box-shadow: 0 5px 18px #07141370;
}
body:has(.order-launch) #site-footer {padding-bottom: 67px}
.order-plan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  min-height: 42px;
  border: 1px solid #648879;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 750;
  color: #173e32;
}
.order-plan:hover {background: #e6efde}
.order-panel {max-width: 535px}
.order-panel .panel-head {margin-bottom: 8px}
.order-panel .panel-head h2 {margin: 0}
.order-panel .close-btn {flex: none}
.order-context {
  margin: 14px 0;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  color: #e5dac0;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-line;
  max-height: 6.5em;
  overflow-y: auto;
}
.order-form {display: grid; gap: 14px; margin-top: 20px}
.order-field {display: grid; gap: 5px; min-width: 0}
.order-field label {font-weight: 700; font-size: 14px}
.order-field .optional {font-weight: 400; color: var(--muted)}
.order-field input,.order-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #5d7874;
  border-radius: 8px;
  padding: 10px 12px;
  background: #0d1c1f;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}
.order-field textarea {resize: vertical; min-height: 60px; max-height: 180px}
.order-field input::placeholder,.order-field textarea::placeholder {color: #a6b8b3}
.order-consent {display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: #dce8e3}
.order-consent input {flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--aqua)}
.order-consent a {text-decoration: underline; text-underline-offset: 3px}
.order-form .btn,.order-end {justify-self: start}
.order-panel .btn:disabled {cursor: progress; opacity: .7}
.order-error {font-size: 14px; color: #ffc8af; line-height: 1.45}
.order-error:empty {display: none}
.order-success {font-size: 16px; line-height: 1.55; margin: 14px 0 20px; overflow-wrap: anywhere}
#service-to-brief {margin: 6px 0}
@media (max-width: 599px) {
  .order-launch {right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); min-height: 44px; padding: 10px 17px}
  .order-panel {padding: 19px; max-height: calc(100dvh - 20px)}
  .order-panel .close-btn {width: 42px; height: 42px}
}
