.doc-preview-exact {
  background: #e5e7ef;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
}

.doc-preview-exact .ix-status {
  background: #fff;
}

.doc-exact-toolbar {
  height: 64px;
  padding: 16px 20px 16px 36px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto auto auto;
  column-gap: 12px;
  align-items: center;
  background: #fff;
}

.doc-exact-toolbar h1 {
  margin: 0;
  overflow: hidden;
  color: #102a56;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

#interactive .doc-exact-toolbar button {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 4px;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #102a56;
}

.doc-exact-toolbar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #102a56;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-exact-toolbar .doc-icon-btn svg {
  stroke: #1570ef;
}

.doc-exact-toolbar [data-act="more"] svg {
  fill: #1570ef;
  stroke: none;
}

.doc-exact-toolbar [data-act="convert"] text {
  fill: #d92d20;
  font-size: 5px;
  font-weight: 700;
  stroke: none;
}

.doc-preview-exact .doc-preview {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0 16px 24px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  row-gap: 20px;
  background: #e5e7ef;
}

.doc-preview-exact .paper-wrap {
  position: relative;
  min-height: 0;
  display: block;
}

.doc-preview-exact .paper,
.doc-preview-exact .paper-back {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 20px;
  bottom: 20px;
  border-radius: 4px;
  background: #fff;
}

.doc-preview-exact .paper-back {
  z-index: 0;
  opacity: .75;
  transform: translate(9px, -9px) rotate(2deg);
  box-shadow: 0 2px 4px rgba(16, 42, 86, .18);
}

.doc-preview-exact .paper {
  z-index: 1;
  min-height: 0;
  width: auto;
  padding: 48px 42px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(16, 42, 86, .18);
}

.doc-preview-exact .paper h2 {
  margin: 0 0 12px;
  color: #a7adb7;
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
}

.doc-preview-exact .paper p {
  margin: 8px 0;
  color: #102a56;
  font-size: 8px;
  line-height: 1.32;
}

.doc-preview-exact .paper p:first-of-type {
  margin-top: 0;
}

.doc-preview-exact .paper .mark {
  background: #fff075;
}

.doc-preview-exact .page-pill {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 3;
  transform: translateX(-50%);
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 24, 40, .9);
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(16, 42, 86, .18);
}

.doc-preview-exact .page-pill svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  stroke: none;
}

.doc-preview-exact .page-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid #ecedf3;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #007aff;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(16, 42, 86, .14);
}

.doc-preview-exact .page-nav.left {
  left: 12px;
}

.doc-preview-exact .page-nav.right {
  right: 12px;
}

.doc-preview-exact .page-nav:disabled {
  opacity: .4;
}

.doc-preview-exact .page-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-preview-exact .print-preview-bar {
  width: 100%;
  min-width: 0;
}

.doc-preview-exact .print-summary {
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e7f6ee;
  color: #12b76a;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.doc-preview-exact .print-summary svg {
  width: 18px;
  height: 18px;
  fill: #12b76a;
  stroke: none;
  flex: 0 0 auto;
}

.doc-preview-exact .preview-options {
  margin: 0;
  padding: 4px 16px;
  border-radius: 16px;
  display: grid;
  gap: 0;
  background: #fff;
  box-shadow: inset 0 -1px 2px rgba(16, 42, 86, .16), 0 6px 16px rgba(16, 42, 86, .10);
}

.doc-preview-exact .preview-options p {
  min-height: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #edf1f6;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #788697;
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}

.doc-preview-exact .preview-options p:last-child {
  border-bottom: 0;
}

.doc-preview-exact .preview-options span {
  flex: 1;
  min-width: 0;
}

.doc-preview-exact .preview-options b {
  min-width: 0;
  color: #102a56;
  text-align: center;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

#interactive .doc-preview-exact .preview-options button {
  border: 0;
  background: transparent;
  color: #102a56;
  font: inherit;
}

.doc-preview-exact .quantity-selector {
  padding: 0;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  background: #eff8ff;
  font-style: normal;
}

.doc-preview-exact .quantity-selector b {
  padding: 0 10px;
}

#interactive .doc-preview-exact .preview-options .quantity-selector .qty {
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #d1e9ff;
  box-shadow: inset 0 -1px 2px rgba(46, 144, 250, .38);
}

#interactive .doc-preview-exact .preview-options .quantity-selector .qty:disabled {
  opacity: 1;
}

#interactive .doc-preview-exact .preview-options .quantity-selector .qty svg {
  width: 10px;
  height: 10px;
  fill: #102a56;
  stroke: none;
}

.doc-preview-exact .color-segment {
  padding: 3px;
  border-radius: 10px;
  display: inline-flex;
  gap: 3px;
  background: #eff4fa;
  font-style: normal;
}

#interactive .doc-preview-exact .color-segment button {
  min-width: 54px;
  min-height: 32px;
  padding: 6px 16px;
  border-radius: 8px !important;
  color: #788697;
  font-size: 14px;
}

#interactive .doc-preview-exact .color-segment button.on {
  background: #1570ef;
  color: #fff;
}

#interactive .doc-preview-exact .page-size-control {
  min-height: 32px;
  padding: 4px 0 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #102a56;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.doc-preview-exact .page-size-control svg {
  width: 24px;
  height: 24px;
  fill: #1570ef;
}

#interactive .doc-preview-exact .doc-print {
  position: static;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: radial-gradient(circle at 14% 18%, #84caff 0, #68b4fb 25%, #4d9df7 50%, #3187f3 75%, #1570ef 100%);
  font-family: Inter, RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 -1px 2px rgba(16, 42, 86, .35);
}

.doc-preview-exact .doc-print svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-preview-exact .doc-sheet,
.doc-preview-exact .doc-menu,
.doc-preview-exact .doc-dialog,
.doc-preview-exact .convert-sheet,
.doc-preview-exact .print-overlay,
.doc-preview-exact .print-paywall {
  position: absolute;
}

.doc-preview-exact .doc-menu {
  inset: 0;
  z-index: 7;
  background: transparent !important;
  padding: 0 !important;
  display: block !important;
}
.doc-preview-exact .doc-menu section {
  position: absolute;
  top: 104px;
  right: 68px;
  min-width: 168px;
  width: max-content;
  padding: 8px 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 42, 86, .18);
  overflow: hidden;
}
.doc-preview-exact .doc-menu button {
  width: 100%;
  min-height: 48px;
  padding: 12px 24px 12px 16px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: #102a56;
  font-family: RobotoLocal, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  text-align: left;
}
.doc-preview-exact .doc-menu button:nth-child(n+3) {
  min-height: 56px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.doc-preview-exact .doc-menu button:active {
  background: rgba(16, 42, 86, .06);
}
.doc-preview-exact .doc-menu .popup-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: #102a56;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
