.otr-restoreapp {
  font-family: inherit;
  color: rgb(var(--color-foreground, 17, 17, 17));
}

.otr-restoreapp .otr-card {
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.12);
  border-radius: 14px;
  padding: 18px;
  background: var(--gradient-background, rgb(var(--color-background, 255, 255, 255)));
}

.otr-restoreapp .otr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.otr-restoreapp .otr-title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.otr-restoreapp .otr-subtitle {
  margin: 0 0 14px 0;
  color: rgba(var(--color-foreground, 17, 17, 17), 0.72);
}

.otr-restoreapp .otr-label {
  font-weight: 600;
}

.otr-restoreapp .otr-muted {
  color: rgba(var(--color-foreground, 17, 17, 17), 0.68);
  font-size: 14px;
}

.otr-restoreapp .otr-btn {
  appearance: none;
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.10);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  background: rgb(var(--color-button, 17, 17, 17));
  color: rgb(var(--color-button-text, 255, 255, 255));
  font-weight: 700;
  white-space: nowrap;
}

.otr-restoreapp .otr-btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.otr-restoreapp .otr-error {
  color: rgb(var(--color-error, 176, 0, 32));
  font-size: 14px;
  margin-top: 10px;
}

.otr-restoreapp .otr-list {
  display: grid;
  gap: 10px;
}

.otr-restoreapp .otr-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.10);
  padding-top: 14px;
  padding-bottom: 2px;
}

.otr-restoreapp .otr-item__left {
  min-width: 0;
  flex: 1;
}

.otr-restoreapp .otr-item__right {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.otr-restoreapp .otr-disclosure {
  appearance: none;
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.14);
  background: transparent;
  color: rgba(var(--color-foreground, 17, 17, 17), 0.80);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.otr-restoreapp .otr-chevron {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

.otr-restoreapp .otr-disclosure.is-open .otr-chevron,
.otr-restoreapp .otr-disclosure[aria-expanded="true"] .otr-chevron {
  transform: rotate(180deg);
}

.otr-restoreapp .otr-details {
  margin-left: 0;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.10);
  border-radius: 12px;
  background: rgba(var(--color-foreground, 17, 17, 17), 0.02);
  display: grid;
  gap: 10px;
}

.otr-restoreapp .otr-item__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.otr-restoreapp .otr-item__label {
  font-weight: 700;
  min-width: 0;
}

.otr-restoreapp .otr-item__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.otr-restoreapp .otr-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.10);
  background: rgba(var(--color-foreground, 17, 17, 17), 0.04);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  color: rgba(var(--color-foreground, 17, 17, 17), 0.80);
}

.otr-restoreapp .otr-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.12);
  background: rgba(var(--color-foreground, 17, 17, 17), 0.04);
  color: rgba(var(--color-foreground, 17, 17, 17), 0.80);
}

.otr-restoreapp .otr-badge--danger {
  border-color: rgba(var(--color-error, 176, 0, 32), 0.35);
  background: rgba(var(--color-error, 176, 0, 32), 0.10);
  color: rgb(var(--color-error, 176, 0, 32));
}

.otr-restoreapp .otr-badge--warn {
  border-color: rgba(var(--color-foreground, 17, 17, 17), 0.18);
  background: rgba(var(--color-foreground, 17, 17, 17), 0.06);
  color: rgba(var(--color-foreground, 17, 17, 17), 0.88);
}

.otr-restoreapp .otr-badge--muted {
  border-color: rgba(var(--color-foreground, 17, 17, 17), 0.10);
  background: rgba(var(--color-foreground, 17, 17, 17), 0.03);
  color: rgba(var(--color-foreground, 17, 17, 17), 0.72);
}

.otr-restoreapp .otr-btn.otr-btn--secondary {
  background: transparent;
  color: rgb(var(--color-foreground, 17, 17, 17));
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.18);
}

.otr-restoreapp .otr-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
}

.otr-restoreapp .otr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.otr-restoreapp .otr-modal__dialog {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 8vh auto;
  border-radius: 14px;
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.12);
  background: var(--gradient-background, rgb(var(--color-background, 255, 255, 255)));
  padding: 16px;
}

.otr-restoreapp .otr-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.10);
}

.otr-restoreapp .otr-modal__title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.otr-restoreapp .otr-modal__subtitle {
  margin-top: 4px;
  color: rgba(var(--color-foreground, 17, 17, 17), 0.72);
  font-size: 14px;
}

.otr-restoreapp .otr-modal__body {
  padding-top: 12px;
  display: grid;
  gap: 12px;
}

.otr-restoreapp .otr-modal__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.10);
  margin-top: 12px;
}

.otr-restoreapp .otr-iconbtn {
  appearance: none;
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.14);
  background: transparent;
  color: rgba(var(--color-foreground, 17, 17, 17), 0.80);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.otr-restoreapp .otr-modal__summary {
  display: grid;
  gap: 8px;
}

.otr-restoreapp .otr-modal__label {
  font-weight: 800;
  font-size: 16px;
}

.otr-restoreapp .otr-modal__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.otr-restoreapp .otr-block {
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.10);
  border-radius: 12px;
  padding: 12px;
  background: rgba(var(--color-foreground, 17, 17, 17), 0.02);
}

.otr-restoreapp .otr-block__title {
  font-weight: 800;
  margin-bottom: 8px;
}

.otr-restoreapp .otr-kv {
  display: grid;
  gap: 8px;
}

.otr-restoreapp .otr-kv__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.otr-restoreapp .otr-kv__k {
  color: rgba(var(--color-foreground, 17, 17, 17), 0.72);
}

.otr-restoreapp .otr-kv__v {
  font-weight: 700;
}

.otr-restoreapp .otr-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.otr-restoreapp .otr-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--color-foreground, 17, 17, 17), 0.10);
  background: rgba(var(--color-foreground, 17, 17, 17), 0.04);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}

.otr-restoreapp .otr-products {
  display: grid;
  gap: 8px;
}

.otr-restoreapp .otr-products__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.otr-restoreapp .otr-products__name {
  color: rgba(var(--color-foreground, 17, 17, 17), 0.86);
}

.otr-restoreapp .otr-products__price {
  font-weight: 800;
  white-space: nowrap;
}

.otr-restoreapp .otr-mobile-action {
  margin-top: 10px;
}

.otr-restoreapp .otr-btn--mobile-inline {
  width: 100%;
}

@media (max-width: 780px) {
  .otr-restoreapp .otr-disclosure {
    display: none;
  }
}
