:root {
  --button-finish-release: "20260726-button-finish-os-1300";
  --gn-control-focus-ring: 0 0 0 3px rgba(241, 88, 151, 0.22), 0 0 0 5px rgba(212, 162, 67, 0.14);
  scrollbar-color: rgba(232, 88, 151, 0.72) rgba(255, 239, 247, 0.74);
}

body[data-theme="dark"] {
  scrollbar-color: rgba(255, 132, 185, 0.78) rgba(40, 16, 30, 0.86);
}

.button-finish-os-ready ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.button-finish-os-ready ::-webkit-scrollbar-track {
  background: rgba(255, 239, 247, 0.74);
  border-radius: 999px;
}

.button-finish-os-ready ::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 239, 247, 0.74);
  border-radius: 999px;
  background: linear-gradient(180deg, #ef6aa3, #d99a43);
}

body[data-theme="dark"].button-finish-os-ready ::-webkit-scrollbar-track {
  background: rgba(40, 16, 30, 0.86);
}

body[data-theme="dark"].button-finish-os-ready ::-webkit-scrollbar-thumb {
  border-color: rgba(40, 16, 30, 0.86);
  background: linear-gradient(180deg, #ff84b9, #e5b85c);
}

.button-finish-os-ready :is(
  .launch-primary,
  .launch-secondary,
  .launch-soft-button,
  .primary-action,
  .secondary-action,
  .glass-action,
  .danger-action,
  .launch-actions a,
  .launch-actions button,
  .booking-flow-controls button,
  .account-dialog-actions button,
  .ops-actions button,
  .completion-actions button,
  .intake-result-actions button,
  .admin-export-actions button,
  .provider-quote-form button,
  .provider-operation-list article button
) {
  isolation: isolate;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.button-finish-os-ready :is(.launch-primary, .primary-action)::after,
.button-finish-os-ready :is(.launch-secondary, .launch-soft-button, .secondary-action, .glass-action)::after,
.button-finish-os-ready :is(.ops-actions button, .admin-export-actions button, .account-dialog-actions button)::after {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.button-finish-os-ready :is(
  .launch-primary,
  .launch-secondary,
  .launch-soft-button,
  .primary-action,
  .secondary-action,
  .glass-action,
  .danger-action
).gn-control-long-label {
  min-height: 48px;
  white-space: normal;
}

.button-finish-os-ready .gn-control-with-icon > svg:first-child {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.button-finish-os-ready :is(
  .launch-primary,
  .launch-secondary,
  .launch-soft-button,
  .primary-action,
  .secondary-action,
  .glass-action,
  .danger-action,
  .launch-actions a,
  .launch-actions button,
  .booking-flow-controls button,
  .account-dialog-actions button,
  .ops-actions button,
  .completion-actions button,
  .intake-result-actions button,
  .admin-export-actions button
):focus-visible {
  outline: none;
  box-shadow: var(--gn-control-focus-ring);
}

.button-finish-os-ready .launch-actions {
  min-width: 0;
  align-items: center;
}

.button-finish-os-ready .launch-actions > :is(a, button):not(.launch-theme-toggle) {
  min-width: max-content;
}

.button-finish-os-ready .launch-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
}

.button-finish-os-ready .launch-footer-brand,
.button-finish-os-ready .launch-footer-inner > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  min-width: 0;
}

.button-finish-os-ready .launch-footer-brand > strong,
.button-finish-os-ready .launch-footer-brand > span,
.button-finish-os-ready .launch-footer-inner > div:first-child > strong,
.button-finish-os-ready .launch-footer-inner > div:first-child > span {
  display: inline-block;
  min-width: 0;
  line-height: 1.25;
}

.button-finish-os-ready .launch-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.button-finish-os-ready textarea,
.button-finish-os-ready select,
.button-finish-os-ready input {
  min-width: 0;
}

.button-finish-os-ready :is(.account-chat-log, .account-work-list, .admin-review-list, .provider-operation-list) {
  scrollbar-gutter: stable;
}

body[data-theme="dark"].button-finish-os-ready :is(.launch-primary, .primary-action)::after,
body[data-theme="dark"].button-finish-os-ready :is(.launch-secondary, .launch-soft-button, .secondary-action, .glass-action)::after,
body[data-theme="dark"].button-finish-os-ready :is(.ops-actions button, .admin-export-actions button, .account-dialog-actions button)::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

@media (max-width: 760px) {
  .button-finish-os-ready .launch-header-inner {
    align-items: center;
  }

  .button-finish-os-ready .launch-actions {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    gap: 8px;
    padding-right: 0 !important;
  }

  .button-finish-os-ready .launch-actions > :is(a, button):not(.launch-theme-toggle) {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .button-finish-os-ready .launch-actions .launch-theme-toggle {
    position: fixed !important;
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: calc(10px + env(safe-area-inset-right, 0px));
    z-index: 32;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .button-finish-os-ready .launch-footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }

  .button-finish-os-ready .launch-footer-brand,
  .button-finish-os-ready .launch-footer-inner > div:first-child {
    display: grid;
    gap: 3px;
  }

  .button-finish-os-ready .launch-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .button-finish-os-ready .launch-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .button-finish-os-ready .launch-actions > a:only-of-type,
  .button-finish-os-ready .launch-actions > a:nth-last-child(1):nth-child(2) {
    grid-column: auto;
  }

  .button-finish-os-ready :is(
    .launch-primary,
    .launch-secondary,
    .launch-soft-button,
    .primary-action,
    .secondary-action,
    .glass-action,
    .danger-action
  ) {
    min-height: 44px;
    font-size: 13px;
  }
}
