.ii-receipt, .ii-crop, .ii-steps {
  --ii-sans: system-ui, -apple-system, sans-serif;
  --ii-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ii-serif: Georgia, "Times New Roman", serif;
  display: grid;
  place-items: center;
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  height: 100%;
}
.ii-receipt { background: #426149; color: #203b30; }
.ii-slip {
  position: relative;
  width: min(76%, 22rem);
  margin: clamp(1rem, 5.7cqw, 2rem) 0;
  padding: clamp(.85rem, 4.3cqw, 1.6rem);
  padding-bottom: clamp(1.05rem, 5cqw, 1.85rem);
  background: #fcf1cb;
  box-shadow: 3px 4px 0 #304f3b;
}
.ii-slip::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px; height: 5px;
  background: linear-gradient(135deg,#fcf1cb 25%,transparent 25%) -5px 0/10px 10px repeat-x,
    linear-gradient(225deg,#fcf1cb 25%,transparent 25%) -5px 0/10px 10px repeat-x;
}
.ii-slip .ii-shop {
  margin: 0 0 .55rem;
  font: italic 700 clamp(1.5rem,8.7cqw,3rem)/1 var(--ii-serif);
  letter-spacing: -.07em;
}
.ii-slip table {
  width: 100%; table-layout: fixed; border-collapse: collapse;
  color: inherit; font: 500 clamp(.78rem,2.85cqw,1rem)/1.35 var(--ii-mono);
  font-variant-numeric: tabular-nums;
}
.ii-slip th, .ii-slip td { padding: .21rem 0; border: 0; text-align: left; color: inherit; background: transparent; }
.ii-slip th { font-weight: 500; }
.ii-slip th:first-child { width: 61%; }
.ii-slip thead th { padding-block: .44rem; border-block: 1px dashed #8c9271; font-size: .87em; text-transform: uppercase; }
.ii-slip tbody tr:first-child > * { padding-top: .45rem; }
.ii-slip tbody tr:last-child > * { padding-bottom: .45rem; }
.ii-slip tfoot :is(th,td) { padding-top: .58rem; border-top: 2px solid; font-weight: 750; }
.ii-receipt[data-example=good] :is(td,th:nth-child(2)) { text-align: right; }

.ii-crop { background: #8f4c38; color: #292c32; }
.ii-contact {
  width: min(86%, 27rem); padding: clamp(.65rem, 2.8cqw, 1.1rem);
  margin: clamp(1rem, 5.4cqw, 2rem) 0;
  background: #f3e4c9; box-shadow: 2px 3px 0 #6a362a;
}
.ii-crop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; margin-bottom: .75rem; }
.ii-crop-head strong { font: 600 clamp(1.65rem, 8.5cqw, 3.15rem)/.92 var(--ii-serif); letter-spacing: -.085em; }
.ii-crop-head strong i { font-weight: 400; }
.ii-crop-head span { text-align: right; font: 650 clamp(.62rem, 2cqw, .75rem)/1.25 var(--ii-mono); }
.ii-crop-screen { aspect-ratio: 2.9; overflow: hidden; border: 1px solid #342b29; background: #000; }
.ii-crop-screen img { width: 100%; height: 100%; display: block; max-width: none; object-fit: cover; object-position: 50% 100%; }
.ii-crop[data-example=good] img { object-position: 50% 52%; }
.ii-contact .ii-caption { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: .57rem 0 0; }
.ii-caption span { font: italic 600 clamp(.9rem, 3.8cqw, 1.25rem)/1.2 var(--ii-serif); }
.ii-caption a { color: #343941; font: 570 clamp(.63rem, 2.1cqw, .8rem)/1.3 var(--ii-sans); text-underline-offset: .15em; }
.ii-caption a:focus-visible { outline: 2px solid #214dc0; outline-offset: .2em; }

.ii-steps { background: #29354f; color: #282d49; }
.ii-manual {
  width: min(89%, 29rem); margin: clamp(1rem, 5.5cqw, 2rem) 0;
  padding: clamp(.8rem, 3.9cqw, 1.35rem);
  background: #e4e6c6;
}
.ii-manual .ii-manual-title { margin: 0; font: 530 clamp(1.55rem, 7.6cqw, 2.8rem)/.99 var(--ii-serif); letter-spacing: -.073em; }
.ii-manual-title i { font-weight: 400; }
.ii-manual .ii-manual-sub { margin: .35rem 0 .8rem; font: 600 clamp(.68rem, 2.2cqw, .83rem)/1.3 var(--ii-sans); color: #414654; }
.ii-steps ol {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  list-style: none; padding: 0; margin: 0; border-top: 1px solid #656c69;
}
.ii-steps li { min-width: 0; padding: .45rem .3rem .1rem; }
.ii-steps li + li { border-left: 1px solid #939a87; }
.ii-steps li div { display: grid; gap: .2rem; }
.ii-steps li span { color: #4c5357; font: 650 clamp(.65rem,2.2cqw,.8rem)/1.3 var(--ii-mono); }
.ii-steps li strong { font: 650 clamp(.76rem,2.5cqw,.95rem)/1.25 var(--ii-sans); }
.ii-steps svg { width: 100%; height: auto; display: block; margin: 0 0 .4rem; }
.ii-steps[data-example=bad] li:nth-child(2) { order: 1; }
.ii-block-shadow, .ii-inked, .ii-roller-edge { fill: #2f3b51; }
.ii-block, .ii-roller { fill: #82b99a; stroke: #2f3b51; stroke-width: 2; stroke-linejoin: round; }
.ii-handle, .ii-arrow { stroke: #2f3b51; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ii-roller-edge { stroke: #2f3b51; stroke-width: 2; stroke-linejoin: round; }
.ii-paper { fill: #f8e7a7; stroke: #2f3b51; stroke-width: 2; stroke-linejoin: round; }
.ii-paper-mark { stroke: #f8e7a7; stroke-width: 2; stroke-linecap: round; }
@container (max-width: 300px) {
  .ii-slip { width: 87%; }
  .ii-contact, .ii-manual { width: 91%; }
  .ii-steps li { padding-inline: .2rem; }
}
