/* Main homepage workspace choices, agency onboarding and connectors. */
.workspace-panel, .wd-agency-home, .home-connectors, .workspace-access {
  --unit: max(1rem, .86vw);
  --deep: #083c42;
  --accent: #08777b;
  font-size: var(--unit);
}
.workspace-panel {
  min-width: 0;
  padding: 2em;
  border: 1px solid #c4dbd6;
  border-radius: 1.4em;
  background: linear-gradient(135deg, #e0efea, #f7fbf8);
  box-shadow: inset 0 1px white, 0 1em 3em #133d3810;
}
.wd-next .workspace-panel h2 { font-size: 2em; margin: 0 0 .7em; }
.workspace-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1em;
  padding: 1.3em;
  border: 1px solid #cfdfda;
  border-radius: .85em;
  background: #ffffffed;
}
.workspace-option + .workspace-option { margin-top: .65em; }
.workspace-logo {
  display: block; width: clamp(4rem, 5.5vw, 26rem); height: auto;
  background: transparent; border: 0; padding: 0; box-shadow: none;
}
.home-connectors summary > i {
  background: #d9ede7; color: #11635e; border-radius: .65em;
  width: 2.6em; height: 2.6em; display: grid; place-items: center;
}
.wd-next .workspace-option h3 { font-size: 1.15em; }
.wd-next .workspace-option p { font-size: .88em; line-height: 1.55; color: #455c60; margin-top: .3em; }
.wd-next .workspace-option a, .wd-agency-home__actions a, .workspace-access summary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .75em 1em; border-radius: .55em;
  background: var(--deep); color: white; font-size: .83em; font-weight: 700; text-decoration: none;
}
.workspace-access { position: relative; }
.workspace-access summary, .home-connectors summary { list-style: none; cursor: pointer; }
.workspace-access summary::-webkit-details-marker, .home-connectors summary::-webkit-details-marker { display: none; }
.workspace-access > div {
  position: absolute; right: 0; top: 100%; z-index: 60; min-width: 12em;
  padding: .5em; background: white; border: 1px solid #c6dad4; border-radius: .7em; box-shadow: 0 .7em 2em #17373122;
}
.workspace-access a { display: block; padding: .65em; color: #133b43; text-decoration: none; }
.workspace-access a:hover { background: #eff6f2; }
.wd-agency-home {
  background: linear-gradient(112deg,#0f3037,#104b50 72%,#14565a);
  color: #f5fffc; padding-block: 3.6em;
}
.wd-agency-home__head { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; align-items: center; }
.wd-next .wd-agency-home__eyebrow { color: #ace1d4; letter-spacing: .11em; font-size: .75em; font-weight: 700; }
.wd-next .wd-agency-home h2 { font-size: 2.85em; color: white; margin: .32em 0; }
.wd-agency-home__head p { line-height: 1.65; max-width: 64ch; color: #daece7; }
.wd-agency-home__actions { display: flex; flex-wrap: wrap; gap: .65em; margin: 1.15em 0 .65em; }
.wd-next .wd-agency-home__actions a { background: transparent; color: white; border: 1px solid #82a9a8; }
.wd-next .wd-agency-home__actions .wd-agency-home__primary { background: #bef3df; color: #123c3a; border-color: #bef3df; }
.wd-agency-home__note, .wd-agency-home__foot { font-size: .85em; }
.wd-agency-home__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .6em; }
.wd-agency-home__steps li { display: flex; gap: 1em; padding: 1em 1.3em; border-radius: .8em; border: 1px solid #ffffff36; background: #ffffff0e; }
.wd-agency-home__steps li > span { color: #a6e7d4; font-weight: 700; }
.wd-next .wd-agency-home__steps h3 { font-size: 1.15em; color: white; }
.wd-agency-home__steps p { font-size: .87em; }
.wd-agency-home__foot { margin-top: 2em; border-top: 1px solid #ffffff3d; padding-top: 1em; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1em; }
.wd-agency-home__foot a, .connector-body a { text-decoration: underline; text-underline-offset: .22em; font-weight: 650; }
.home-connectors { padding-block: 1.6em; background: #e8f1ee; }
.home-connectors details { background: white; border-radius: .85em; overflow: hidden; border: 1px solid #bed6cf; }
.home-connectors summary { display: flex; align-items: center; gap: 1em; padding: 1.2em 1.5em; background: #11454a; color: white; }
.home-connectors summary strong { font-size: 1.4em; }
.connector-toggle { margin-left: auto; font-size: .85em; font-weight: 650; }
.connector-toggle::after { content: ' +'; }
.home-connectors details[open] .connector-toggle::after { content: ' −'; }
.home-connectors details[open] .when-closed, .home-connectors details:not([open]) .when-open { display: none; }
.connector-body { padding: 1.5em; color: #163f43; }
.connector-body ul { display: flex; flex-wrap: wrap; gap: .65em; padding: 0; list-style: none; margin: 1em 0; }
.connector-body li { border: 1px solid #caded8; border-radius: 2em; padding: .35em .85em; }
.connector-body a { display: inline-block; margin: .3em 1.3em .3em 0; }
.home-connectors summary:focus-visible, .workspace-access summary:focus-visible { outline: 3px solid #c48630; outline-offset: -4px; }
.workspace-option a:hover, .wd-agency-home__actions a:hover, .home-connectors summary:hover { filter: brightness(1.08); }
@media (min-width: 761px) {
  .workspace-panel {
    align-self: stretch;
    display: grid;
    grid-template-rows: auto repeat(4, 1fr);
    gap: .85em;
  }
  .wd-next .workspace-panel h2 { margin: 0; }
  .workspace-option + .workspace-option { margin-top: 0; }
}
@media (max-width: 1150px) {
  .workspace-option { grid-template-columns: auto minmax(0,1fr); }
  .workspace-option a { grid-column: 2; justify-self: start; }
}
@media (max-width: 760px) {
  .workspace-panel { padding: 1em; }
  .wd-agency-home__head { grid-template-columns: 1fr; gap: 1.5em; }
  .wd-next .wd-agency-home h2 { font-size: 2.25em; }
  .home-connectors summary { flex-wrap: wrap; gap: .65em; padding: 1em; }
}
