.plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-size: .875rem;
  color: #b7cddb;
}

#arbeidsflyten .plan-slot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

#arbeidsflyten .plan-date {
  display: grid;
  gap: .1rem;
  justify-items: center;
  margin: 0;
  font-size: .8125rem;
}

#arbeidsflyten .plan-date strong {
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 350;
  letter-spacing: -.06em;
  color: #d8ebf6;
}

#arbeidsflyten #solution-panel-1,
#arbeidsflyten #solution-panel-3 {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 4vw, 3.5rem) 1.5rem;
}

#arbeidsflyten #solution-panel-1 .panel-description,
#arbeidsflyten #solution-panel-3 .panel-description {
  padding: 0;
  align-content: start;
}

#arbeidsflyten #solution-panel-1 .field-screen {
  width: 100%;
  max-width: 21rem;
  justify-self: end;
}

/* Keep the document visually distinct from the Portal screens around it. */
.completion-proof {
  margin: 0;
  min-width: 0;
}

.completion-proof figcaption {
  margin-top: 1.2rem;
  font-size: .8125rem;
  line-height: 1.55;
  color: #b7c8d4;
}

#arbeidsflyten .report-sheet {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background: #dce5ec;
  color: #1a2b38;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 6px #adbfcc, 0 7px #324553;
}

#arbeidsflyten .completion-proof .proof-heading {
  display: grid;
  gap: .75rem;
  margin-bottom: 0;
}

#arbeidsflyten .completion-proof .proof-heading h3,
#arbeidsflyten .completion-proof .report-document h4,
#arbeidsflyten .completion-proof .report-document dd {
  color: #1a2b38;
}

#arbeidsflyten .completion-proof .proof-heading p,
#arbeidsflyten .completion-proof .proof-context span,
#arbeidsflyten .completion-proof .report-document dt,
#arbeidsflyten .completion-proof .report-document > p {
  color: #3b515f;
}

#arbeidsflyten .completion-proof .chip {
  justify-self: start;
  background: transparent;
  color: #304c5e;
  border: 1px solid #8199a8;
}

#arbeidsflyten .completion-proof .proof-context,
#arbeidsflyten .completion-proof .report-document,
#arbeidsflyten .completion-proof .report-document dl div {
  border-color: #233d4d36;
}

#arbeidsflyten .completion-proof .report-document dl div {
  grid-template-columns: minmax(0, 1fr);
  gap: .25rem;
}

#arbeidsflyten .completion-proof .report-document dl div:last-child {
  border: 0;
  padding-bottom: 0;
}

#kundehistorie > .container {
  display: block;
}

.case-introduction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: baseline;
}

#kundehistorie .case-introduction h2 {
  margin: 1.25rem 0 0;
  text-wrap: balance;
}

#kundehistorie .case-introduction > div > p:not(.eyebrow) {
  margin: 0;
}

#kundehistorie .case-introduction .text-link {
  margin: .5rem 0 0;
  min-height: 44px;
  align-items: center;
}

.case-excerpts {
  margin: clamp(1.5rem, 3vw, 2.75rem) 0 1rem;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  background: linear-gradient(125deg, #1c2c3a, #101b25);
  border: 1px solid #a1c7e040;
  border-radius: .625rem;
}

.case-excerpts h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 1rem 0;
  color: #d8e9f4;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 0;
  border-bottom: 1px solid #bad3e42b;
}

.case-excerpts h3 span {
  margin-left: auto;
  color: #abbfcc;
  font-size: .8125rem;
  font-weight: 400;
}

.case-excerpts ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-excerpts a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .4rem 1rem;
  align-items: start;
  padding: 1.5rem 0 1.75rem;
}

.case-excerpts strong {
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.case-excerpts a span {
  grid-row: 2;
  color: #b7c8d4;
  font-size: .875rem;
  line-height: 1.55;
}

.case-excerpts i {
  grid-area: 1 / 2;
  color: #a7d4ee;
  font-style: normal;
}

.case-excerpts a:is(:hover, :focus-visible) strong {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.case-excerpts a:focus-visible {
  outline: 2px solid #8cd3ff;
  outline-offset: 3px;
}

#kundehistorie > .container > small {
  font-size: .8125rem;
  color: #aabecb;
}

@media (max-width: 760px) {
  #arbeidsflyten #solution-panel-1,
  #arbeidsflyten #solution-panel-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding: 2rem 0;
  }

  #arbeidsflyten #solution-panel-1 .field-screen {
    justify-self: center;
    width: min(100%, 19rem);
  }

  .case-introduction {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .case-excerpts ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .case-excerpts li + li {
    border-top: 1px solid #bad3e42b;
  }

  .case-excerpts a {
    padding: .95rem 0;
  }
}

@media (max-width: 599px) {
  #arbeidsflyten .proof-context,
  #arbeidsflyten .solution-nav a {
    overflow-wrap: anywhere;
  }

  #arbeidsflyten .solution-nav .workflow-index {
    flex-shrink: 0;
  }

  #arbeidsflyten .product-reading a {
    min-height: 0;
    gap: .25rem .75rem;
    padding: 1rem 0;
  }
}

#nettsider .digital-studio-preview {
  display: block;
  align-self: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #a1c7e040;
  border-radius: 9px;
}
#nettsider .digital-studio-preview:focus-visible {
  outline: 2px solid #8cd3ff;
  outline-offset: 4px;
}
.digital-studio-preview picture,
.digital-studio-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.digital-studio-preview .customer-site-address {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem 1rem;
  background: #0b121a;
  color: #dce6ee;
  font-size: .875rem;
}
.digital-studio-preview:hover .customer-site-address {
  text-decoration: underline;
  text-underline-offset: .2em;
}
