#app > .guide-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(15rem, 1fr);
  align-items: center;
  gap: clamp(1.7rem, 5vw, 4rem);
  padding: clamp(1.65rem, 5vw, 3.75rem);
  margin: 0 0 1rem;
  color: #fff;
  background:
    radial-gradient(ellipse at 105% 100%, #805638 0%, transparent 52%),
    radial-gradient(ellipse at 79% -18%, #8e6845 0%, transparent 62%),
    linear-gradient(118deg, #271b16 4%, #422c21 57%, #644633 100%);
  border: 1px solid #ac8657;
  border-radius: 1.7rem;
  box-shadow: 0 18px 45px #4a2d232f, inset 0 1px 0 #ffffff2b;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  animation: guide-welcome-enter 320ms cubic-bezier(.2,.8,.3,1) both;
}

#app > .guide-welcome::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -35% -13% auto auto;
  inline-size: min(41rem, 76%);
  aspect-ratio: 1;
  border: 1px solid #ffdfa633;
  border-radius: 50%;
  box-shadow: 0 0 0 2.7rem #ffdda312, 0 0 0 5.4rem #ffdda30c, 0 0 0 8.1rem #ffdda308;
  pointer-events: none;
}

.guide-welcome-main,
.guide-welcome-summary {
  min-inline-size: 0;
}

#app .guide-welcome-status {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  margin: 0 0 1.1rem;
  padding: .32rem .72rem .32rem .36rem;
  color: #ffe9b7;
  background: #3b281e;
  border: 1px solid #ffe0a45a;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.35;
}

.guide-welcome-status span {
  display: inline-grid;
  place-items: center;
  inline-size: 1.36rem;
  block-size: 1.36rem;
  border-radius: 50%;
  color: #30210e;
  background: #ffd884;
}

#app #guide-welcome-title {
  max-inline-size: 16ch;
  margin: 0 0 .85rem;
  color: #fff;
  font-size: clamp(2.05rem, 5.7vw, 4.05rem);
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -.052em;
  text-wrap: balance;
}

#app .guide-welcome-lede {
  max-inline-size: 39ch;
  margin: 0;
  color: #f4e6d7;
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  line-height: 1.52;
}

.guide-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .62rem;
  margin-top: 1.35rem;
}

#app .guide-welcome-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  min-block-size: 44px;
  padding: .58rem .88rem;
  border: 1px solid transparent;
  border-radius: .82rem;
  font-size: .9rem;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

#app a.guide-welcome-primary {
  background: linear-gradient(135deg, #ffebbb, #e8b969);
  color: #2b210f;
}

#app a.guide-welcome-primary:hover {
  background: #fff0c4;
  transform: translateY(-1px);
}

#app a.guide-welcome-primary:active {
  transform: translateY(1px);
}

.guide-welcome-contacts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .75rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e7c68e66;
}

.guide-welcome-contact {
  display: grid;
  align-content: start;
  justify-items: start;
  padding: .85rem 1rem;
  border: 1px solid #e7c68e55;
  border-radius: 1rem;
  background: #271b163d;
}

#app .guide-welcome-contact h3 {
  margin: 0 0 .15rem;
  color: #ffdf9d;
  font-size: .91rem;
  font-weight: 720;
}

#app .guide-welcome-contact a {
  display: flex;
  align-items: center;
  min-block-size: 44px;
  max-inline-size: 100%;
  color: #fff5e9;
  font-size: .94rem;
  overflow-wrap: anywhere;
  text-underline-offset: .23em;
  text-decoration-color: #e8bd7680;
}

#app .guide-welcome-contact a:hover {
  text-decoration-color: currentColor;
}

#app .guide-welcome a:focus-visible,
#app #guide-welcome-title:focus-visible {
  outline: 2px solid #fff0c4;
  outline-offset: 4px;
}

.guide-welcome-summary {
  padding: clamp(1.15rem, 3vw, 1.8rem);
  color: #302720;
  background: linear-gradient(144deg, #fffdf7 3%, #f3eee5 48%, #e5e3df 100%);
  border: 1px solid #fff8ea;
  border-radius: 1.3rem;
  box-shadow: 0 14px 33px #21171157;
}

.guide-welcome-payment-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem .8rem;
  margin: 0 0 .55rem;
}

.guide-welcome-paid {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .62rem;
  border: 1px solid #b5c8ac;
  border-radius: 999px;
  background: #e9f1e4;
  color: #284626;
  font-size: .78rem;
  line-height: 1.1;
  font-weight: 750;
}

#app .guide-welcome-total p {
  margin: 0;
  color: #615247;
  font-size: .86rem;
  font-weight: 650;
}

#app .guide-welcome-total .guide-welcome-test {
  margin-top: .5rem;
  font-size: .79rem;
}

.guide-welcome-total strong {
  display: block;
  color: #39291e;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  font-weight: 740;
  letter-spacing: -.056em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.guide-welcome-details {
  display: grid;
  gap: .8rem;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #d6c8b9;
}

.guide-welcome-details dt {
  color: #615247;
  font-size: .8rem;
  font-weight: 650;
}

.guide-welcome-details dd {
  margin: .13rem 0 0;
  color: #302720;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.guide-welcome-reference {
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
}

#app > .guide-welcome ~ div > .intake-context {
  display: none;
}

#app > .guide-welcome ~ .finish-team-tools {
  padding: 0;
  margin: 0 0 .85rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#guide-submitted-brief { scroll-margin-top: 2rem; }

@keyframes guide-welcome-enter {
  from { opacity: .65; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 740px) {
  #app > .guide-welcome {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 1.2rem;
  }
  .guide-welcome-break { display: none; }
  #app #guide-welcome-title { max-inline-size: 18ch; }
}

@media (prefers-reduced-motion: reduce) {
  #app > .guide-welcome { animation: none; }
  #app .guide-welcome-actions a { transition: none; }
  #app .guide-welcome-actions a:is(:hover, :active) { transform: none; }
}
