/* A sample medication label, inside the existing 278px scan frame. */
.scan-frame.medication-scan-frame {
  display: grid;
  place-items: center;
  padding: 0;
  isolation: isolate;
}
.medication-scan-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 174px;
  max-width: 100%;
  height: 254px;
}
.medication-bottle-shadow {
  position: absolute;
  bottom: 7px;
  left: 29px;
  right: 29px;
  height: 11px;
  border-radius: 50%;
  background: #80556929;
  filter: blur(9px);
}
.medication-bottle {
  position: relative;
  width: 142px;
  height: 236px;
  filter: drop-shadow(0 8px 9px #8d657311);
}
.medication-bottle-body {
  position: absolute;
  inset: 30px 0 0;
  overflow: hidden;
  border: 1px solid #c48a7466;
  border-radius: 26px 26px 23px 23px;
  background: linear-gradient(100deg, #dea88f 0%, #efc5ac 12%, #f8ddc7 34%, #f3cfb7 67%, #dfa88f 100%);
  box-shadow: inset 0 3px 8px #bf81621a, inset 0 -9px 14px #b9785d15, inset 2px 0 2px #fff4e950;
}
.medication-bottle-body:before,
.medication-bottle-body:after {
  content: '';
  position: absolute;
  top: 25px;
  bottom: 13px;
  width: 6px;
  border-radius: 10px;
  background: linear-gradient(#fff9ee70, #fff5e814);
  pointer-events: none;
}
.medication-bottle-body:before { left: 7px; }
.medication-bottle-body:after { right: 6px; width: 2px; opacity: .7; }
.medication-bottle-cap {
  position: absolute;
  z-index: 3;
  inset: 0 -4px auto;
  height: 39px;
  border: 1px solid #c8b6c2;
  border-radius: 10px 10px 5px 5px;
  background: repeating-linear-gradient(90deg, #876c811c 0 1px, transparent 1px 5px), linear-gradient(95deg, #d6c9d3, #f0e9ed 24%, #f7f2f4 49%, #e0d4dd 83%, #cbb9c7);
  box-shadow: inset 0 1px 1px #fff, inset 0 -5px 7px #94768c14, 0 3px 2px #9d74651a;
}
.medication-bottle-cap:before {
  content: '';
  position: absolute;
  inset: -1px -1px auto;
  height: 8px;
  border: 1px solid #c8b6c2;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(90deg, #e0d4dc, #f8f3f5 45%, #e8dde4);
}
.medication-bottle-cap:after {
  content: '';
  position: absolute;
  inset: auto 5px -5px;
  height: 5px;
  border-radius: 0 0 4px 4px;
  background: #b69fac;
  box-shadow: inset 0 1px #d9cbd4;
}
.medication-tablet {
  position: absolute;
  bottom: 15px;
  width: 30px;
  height: 13px;
  border: 1px solid #d4a99266;
  border-radius: 20px;
  background: linear-gradient(90deg, #fff6e9 49%, #dfaa9866 50%, #f0c2aa 52%);
  box-shadow: inset 0 2px 2px #fff8ed80, 0 2px 3px #b57b6120;
  opacity: .72;
}
.medication-tablet-one { left: 24px; transform: rotate(-24deg); }
.medication-tablet-two { right: 23px; bottom: 19px; transform: rotate(21deg); }
.medication-bottle-label {
  position: absolute;
  z-index: 2;
  top: 44px;
  left: 10px;
  right: 10px;
  height: 123px;
  padding: 12px 10px 10px;
  overflow: hidden;
  border: 1px solid #fffaf2;
  border-radius: 4px;
  background: linear-gradient(100deg, #f4efe9, #fffdf8 20%, #fffdf8 78%, #f4eee8);
  box-shadow: 0 1px 3px #8c5f4620;
}
.medication-label-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #907184;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: 1;
}
.medication-label-heading .icon { width: 11px; height: 11px; stroke-width: 1.3; }
.medication-bottle-label strong {
  display: block;
  color: #63475e;
  font-family: 'Albert Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.55px;
  line-height: 1.03;
}
.medication-label-example {
  display: block;
  margin-top: 8px;
  color: #8a7681;
  font-size: 6px;
  letter-spacing: .7px;
  line-height: 1.4;
}
.medication-label-bars {
  display: block;
  width: 55px;
  height: 9px;
  margin-top: 9px;
  background: repeating-linear-gradient(90deg, #947987 0 1px, transparent 1px 3px, #947987 3px 5px, transparent 5px 6px, #947987 6px 7px, transparent 7px 10px);
  opacity: .38;
}
.medication-label-sweep {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ba7d8a 16%, #eea08c 50%, #ba7d8a 84%, transparent);
  box-shadow: 0 0 7px 2px #eead963b;
  opacity: 0;
  animation: medication-label-scan 5.8s cubic-bezier(.45, 0, .25, 1) infinite;
  pointer-events: none;
}
.medication-label-sweep:before {
  content: '';
  position: absolute;
  inset: auto 0 1px;
  height: 20px;
  background: linear-gradient(0deg, #e9a48b1c, transparent);
}
.workflow-content[data-layer-active="false"] .medication-label-sweep {
  animation-play-state: paused;
}
@keyframes medication-label-scan {
  0%, 10% { opacity: 0; transform: translateY(8px); }
  18% { opacity: .9; }
  66% { opacity: .9; }
  78%, 100% { opacity: 0; transform: translateY(115px); }
}
@media (prefers-reduced-motion: reduce) {
  .medication-label-sweep { animation: none; opacity: .45; transform: translateY(62px); }
}
.reduce-motion .medication-label-sweep {
  animation: none;
  opacity: .45;
  transform: translateY(62px);
}


/* Document branch of the expanded photo-to-record story. */
.document-scan-frame {
  display: grid;
  place-items: center;
  padding: 19px 18px;
  overflow: hidden;
}
.document-paper {
  width: 92%;
  height: 94%;
  transform: rotate(-2deg);
  padding: 25px 23px;
}
.document-paper h3 {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.08;
}
.document-paper p {
  font-size: 9px;
}
.document-scan-line {
  left: 14px;
  right: 14px;
  animation-duration: 4.8s;
}
.workflow-review-card {
  min-height: 335px;
}
.document-review-card .review-field,
.workflow-review-card .review-field {
  margin-top: 13px;
  padding-bottom: 10px;
}
.organized-records-preview .filed-record {
  margin-top: 16px;
}
.organized-records-preview .filed-record + .filed-record {
  margin-top: 9px;
}
.organized-records-preview .review-status {
  margin-top: 18px;
}
