/* One visual system for the software service examples. */
.service-monitor .software-workspace {
  display: grid;
  grid-template-columns: 19% minmax(0, 1fr);
  background: white;
  color: #123e46;
}
.software-workspace ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.software-workspace svg {
  display: inline-block;
  flex: 0 0 1.12em;
  width: 1.12em;
  height: 1.12em;
}
.software-rail,
.software-workarea {
  font: 400 1.43cqw/1.3 system-ui, sans-serif;
  min-width: 0;
}
.software-rail {
  padding: 1.18em .7em;
  color: #fff;
  background: #123e46;
}
.software-rail > strong {
  display: block;
  padding-inline: .25em;
  margin-bottom: 1.75em;
  font-size: 1.06em;
  white-space: nowrap;
}
.software-rail li {
  display: flex;
  align-items: center;
  gap: .55em;
  padding: .6em .55em;
  margin-bottom: .28em;
  border-radius: .5em;
}
.software-rail .selected {
  background: #315b59;
  font-weight: 650;
}
.software-workarea {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.software-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55em 1em;
  border-bottom: 1px solid #e1e9e6;
}
.software-toolbar > span:first-child,
.software-metadata > span {
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .36em .55em;
  border-radius: .45em;
  background: #edf2f0;
}
.software-toolbar > span:first-child {
  width: 55%;
  color: #526d71;
}
.software-avatar {
  display: grid;
  place-items: center;
  width: 1.9em;
  aspect-ratio: 1;
  border-radius: 50%;
  color: white;
  background: #103b36;
  font-weight: 650;
}
.software-split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: .85em;
  padding: .9em;
  flex: 1;
  min-height: 0;
}
.software-queue,
.software-record {
  min-width: 0;
}
#ydelser .software-queue > h4 {
  font-size: 1.8em !important;
  margin-bottom: .55em !important;
}
.software-filters {
  display: flex;
  align-items: center;
  gap: .5em;
  margin-bottom: .55em;
  padding: .22em;
  border-radius: .45em;
  background: #edf2f0;
  font-size: .88em;
}
.software-filters > * {
  padding: .35em .52em;
}
.software-filters > b {
  border-radius: .38em;
  background: #103b36;
  color: white;
}
.software-queue li {
  display: flex;
  align-items: center;
  gap: .6em;
  min-height: 2.45em;
  padding: .45em .55em;
  border-bottom: 1px solid #e4ebe8;
}
.software-queue li.selected {
  border-inline-start: .22em solid #103b36;
  border-bottom: 0;
  border-radius: .42em;
  background: #e8f0eb;
}
.software-queue small {
  display: block;
  margin-top: .18em;
  color: #526d71;
}
.software-record {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #dce6e1;
  border-radius: 1.15em;
  overflow: hidden;
  background: white;
}
.software-record-body {
  padding: .85em;
}
.software-record-body > small {
  color: #526d71;
}
#ydelser .software-record h4 {
  font-size: 1.48em !important;
  margin-block: .2em !important;
}
.software-status,
.software-checklist-title span {
  display: inline-block;
  padding: .2em .6em;
  border-radius: 999px;
  background: #e5eee7;
  color: #103b36;
  font-size: .88em;
  font-weight: 650;
}
.software-metadata {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: .5em;
  margin-top: .55em;
}
#ydelser .software-record p {
  margin-top: .6em !important;
}
.software-checklist-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .44em;
  margin-top: .6em;
  border-top: 1px solid #e4ebe8;
}
.software-record progress {
  display: block;
  width: 100%;
  height: .33em;
  margin: .4em 0;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  accent-color: #103b36;
}
.software-record progress::-webkit-progress-bar { background: #dce8e2; }
.software-record progress::-webkit-progress-value { background: #103b36; }
.software-checklist li {
  display: flex;
  align-items: center;
  gap: .45em;
  padding: .32em 0;
  border-bottom: 1px solid #edf2f0;
}
.software-checklist li:last-child { border-bottom: 0; }
.software-check {
  display: grid;
  place-items: center;
  flex: 0 0 1em;
  height: 1em;
  border: 1px solid #7c9993;
  border-radius: .22em;
}
.software-check.is-done {
  background: #103b36;
  color: white;
  border-color: #103b36;
}
.software-check svg { width: .8em; height: .8em; }
.software-record-actions {
  display: flex;
  gap: .5em;
  padding: .55em .85em;
  background: #edf3ef;
}
.software-record-actions > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: .4em .6em;
  border: 1px solid #103b36;
  border-radius: .48em;
  color: #103b36;
  font-weight: 650;
}
.software-record-actions > span:first-child {
  flex: 1;
  background: #103b36;
  color: white;
}


.software-module {
  display: grid;
  align-content: start;
  gap: .75em;
  min-height: 0;
  padding: 1.05em 1.2em;
}
#ydelser .software-module h4 { font-size: 1.85em !important; }
.software-module h5 {
  margin: 0;
  color: #123e46;
  font-size: 1.08em;
}
.software-booking {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: .75em;
  align-items: start;
}
.software-booking > *,
.software-milestone,
.software-event {
  padding: .8em;
  border: 1px solid #dce6e1;
  border-radius: .65em;
  background: #f5f8f6;
}
.software-dates {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .27em;
  margin: .55em 0 .92em;
}
.software-dates > span,
.software-slots > * {
  padding: .4em .2em;
  border: 1px solid #dbe5e1;
  border-radius: .36em;
  background: white;
  text-align: center;
}
.software-dates b { display: block; font-size: 1.2em; }
.software-dates .selected,
.software-slots strong {
  color: white;
  background: #103b36;
}
.software-slots { display: grid; grid-template-columns: 1fr 1fr; gap: .4em; margin-top: .5em; }
.software-preview-action {
  display: inline-block;
  margin-top: .5em;
  padding: .44em .64em;
  border-radius: .42em;
  background: #103b36;
  color: white;
  font-weight: 650;
}
.software-milestone,
.software-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8em;
}
.software-event { background: #edf3ef; }
.software-event > span { text-align: right; }
.software-module table {
  font: inherit;
  border: 1px solid #dce6e1;
}
.software-module th { background: #edf3ef; }
.software-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7em;
  list-style: none;
  padding: 0;
  margin: 0;
}
.software-flow li {
  position: relative;
  display: grid;
  align-content: start;
  gap: .36em;
  padding: .7em;
  border: 1px solid #dce6e1;
  border-radius: .55em;
  background: #f3f7f5;
}
.software-flow li + li::before {
  content: "→";
  position: absolute;
  top: 45%;
  left: -.63em;
  z-index: 1;
  color: #103b36;
  font-weight: 700;
}
.software-flow li > span {
  justify-self: start;
  color: #103b36;
  background: #e2eee6;
  padding: .18em .55em;
  border-radius: .45em;
  font-weight: 650;
}
.software-flow small,
.software-milestone small { color: #526d71; }
.software-process li:last-child { background: #fbf7ed; }


.software-module {
  grid-template-rows: auto;
  align-content: stretch;
  min-height: 0;
  flex: 1;
  background: #f7faf8;
  font-size: 1.49cqw;
}
.software-module-label,
.software-module-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .24em .85em;
  color: #526d71;
  font-size: .88em;
}
.software-module-label { margin-bottom: .35em; }
.software-module-label b {
  padding: .18em .55em;
  border-radius: 999px;
  color: #103b36;
  background: #e4eee8;
}
.software-module-footer {
  align-self: end;
  padding: .62em .7em;
  border: 1px solid #dce6e1;
  border-radius: .55em;
  background: white;
}
.software-module-footer strong { color: #123e46; }
.software-module-footer .active { color: #267156; }
.software-booking { align-items: stretch; }
.software-booking > *,
.software-milestone,
.software-flow li,
.software-event { background: white; }
.software-booking > aside,
.software-milestone {
  background: #eaf3ed;
}
.software-module table {
  border-radius: .65em;
}
.software-module :is(th,td) {
  padding: .47em .7em;
}
.software-module th {
  color: #123e46;
  background: #e7f0eb;
}
.module-integrationer .software-flow li > span,
.module-automatisering .software-flow li > span {
  color: white;
  background: #103b36;
}
.module-integrationer .software-event {
  border-inline-start: .25em solid #827251;
  background: #fbf7ed;
}
.module-videreudvikling .software-event {
  border-inline-start: .25em solid #247a62;
}

.workspace-calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55em;
}
.workspace-calendar-heading > span {
  color: #526d71;
  font-size: .9em;
}
.workspace-booking-details {
  margin: .4em 0;
}
.workspace-booking-details > div {
  padding: .3em 0;
  border-bottom: 1px solid #d6e5dc;
}
.workspace-booking-details dt {
  color: #526d71;
  font-size: .86em;
}
.workspace-booking-details dd {
  margin: 0;
  font-weight: 650;
}
.workspace-tag {
  display: inline-block;
  padding: .18em .5em;
  border-radius: 999px;
  color: #103b36;
  background: #e4eee8;
  font-size: .9em;
  font-weight: 650;
}
.workspace-tag.waiting {
  color: #5a4528;
  background: #f3ead7;
}
.software-event > div {
  display: grid;
  gap: .12em;
}
.software-event small {
  color: #526d71;
}
.module-kundeportaler .software-milestone {
  border-inline-start: .22em solid #103b36;
}
.module-digitale-produkter .software-dates .selected {
  box-shadow: inset 0 0 0 1px #103b36;
}
.module-automatisering .software-process li {
  border-top: .22em solid #729886;
}
.module-automatisering .software-process li:last-child {
  border-top-color: #b19d73;
}
.module-integrationer .software-flow li {
  border-bottom: .22em solid #729886;
}
.module-videreudvikling tbody tr:last-child {
  background: #f0f5f2;
}

/* These views have additional detail rows within the fixed display. */
.software-module:is(.module-digitale-produkter, .module-kundeportaler) {
  gap: .55em;
  padding-block: .85em;
}
.module-digitale-produkter .workspace-booking-details > div {
  padding: .18em 0;
}
.module-kundeportaler :is(th,td) {
  padding-block: .34em;
}

/* The display is nested inside the bezel, with a separate stand below. */
#ydelser.software-services .software-illustration-monitor {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 17%;
  aspect-ratio: 17 / 10;
  padding-inline: 3%;
}

#ydelser.software-services .software-monitor-bezel {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  min-height: 0;
  padding: clamp(7px, 1vw, 13px) clamp(5px, .7vw, 10px) clamp(8px, 1vw, 14px);
  border: 1px solid #616b70;
  border-radius: 11px;
  background: linear-gradient(155deg, #30393d, #141a1d 68%, #222b30);
  box-shadow: inset 0 0 0 1px #11191b, 0 7px 18px #17282424;
}

#ydelser.software-services .software-monitor-bezel::after {
  content: "";
  position: absolute;
  inset: 3px auto auto 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #10191c;
  box-shadow: inset 0 0 0 1px #4e5e63;
}

#ydelser.software-services .software-monitor-display {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 3px;
  min-width: 0;
  min-height: 0;
  background: #0c2b30;
}

body.clean-design #main-content #ydelser.software-services
  .sw-panel .software-monitor-display img.software-category-illustration {
  position: absolute !important;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover !important;
  object-position: center;
}

#ydelser.software-services .software-monitor-stand {
  display: grid;
  justify-items: center;
  grid-template-rows: minmax(0, 1fr) 9px;
}

#ydelser.software-services .software-monitor-stand::before {
  content: "";
  width: 24%;
  clip-path: polygon(17% 0, 83% 0, 100% 100%, 0 100%);
  background: linear-gradient(100deg, #879397, #d6dcdd 47%, #919c9f);
}

#ydelser.software-services .software-monitor-stand::after {
  content: "";
  width: 49%;
  border-radius: 70% 70% 35% 35%;
  background: linear-gradient(#dee3e3, #aab4b7 57%, #667478);
  box-shadow: 0 6px 12px #17282429;
}

@media (min-width: 821px) {
  body.clean-design #main-content#main-content#main-content #ydelser.software-services
    .sw-panel.device-detail-panel:not([hidden]) {
    grid-template-columns: minmax(0, 48fr) minmax(0, 52fr) !important;
  }

  body.clean-design #main-content#main-content#main-content #ydelser.software-services
    .device-detail-copy :is(h3, p) {
    max-width: none !important;
  }

  body.clean-design #main-content#main-content#main-content #ydelser.software-services
    .sw-panel > .device-detail-copy {
    padding-block: 0 !important;
  }

  body.clean-design #main-content#main-content#main-content #ydelser.software-services
    .sw-panel > figure.service-example-device {
    align-self: start;
  }

  #ydelser.software-services .software-illustration-monitor {
    aspect-ratio: 3 / 2;
  }
}

@media (min-width: 1050px) {
  body.clean-design #main-content#main-content#main-content section#ydelser.software-services {
    overflow: visible !important;
  }

  body.clean-design #main-content#main-content#main-content #ydelser.software-services
    .sw-panel.device-detail-panel:not([hidden]) {
    --software-panel-width: min(88vw, 1200px);
    box-sizing: border-box;
    width: var(--software-panel-width) !important;
    max-width: none !important;
    margin-inline: calc((100% - var(--software-panel-width)) / 2) !important;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr) !important;
    gap: clamp(28px, 2.8vw, 44px) !important;
  }
}

@media (max-width: 820px) {
  body.clean-design #main-content#main-content#main-content #ydelser.software-services
    .sw-panel > figure.service-example-device {
    grid-area: 1 / 1 !important;
  }

  body.clean-design #main-content#main-content#main-content #ydelser.software-services
    .sw-panel > .device-detail-copy {
    grid-area: 2 / 1 !important;
  }
}
