@font-face{font-family:Inter;src:url("/fonts/inter-v20-latin-regular.woff2")}
@font-face{font-family:Inter;src:url("/fonts/inter-v20-latin-600.woff2");font-weight:600}
:root {
  font: 100%/1.5 Inter, system-ui, sans-serif;
  color: #18203c;
  background: #f4f4f2;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 69rem; margin: auto; padding: clamp(1.15rem, 4vw, 3.5rem); }
header, .identity, .device-bar, .model-switch, .device-details, .strip { display: flex; align-items: center; }
header { justify-content: space-between; gap: .8rem; }
.identity { gap: .85rem; }
h1, h2, p, fieldset { margin: 0; }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.65rem); font-weight: 600; line-height: 1.15; letter-spacing: -.065em; }
h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.045em; }
.roll-mark {
  width: 2rem; height: 2rem; display: block; border-radius: .62rem; background: #233cab; position: relative;
}
.roll-mark::before { content: ""; position: absolute; inset: .45rem .55rem; border: .16rem solid white; border-radius: .14rem .5rem .14rem .14rem; transform: skewY(-10deg); }
a { color: #263d9c; text-underline-offset: .2em; font-size: .93rem; font-weight: 600; }
.intro { color: #484d60; max-width: 42rem; margin: 1rem 0 1.7rem; }
.bench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: stretch; gap: 1.1rem; }
.device, .work { border-radius: 1.35rem; overflow: hidden; }
.device {
  display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem);
  background: radial-gradient(ellipse at 65% 45%, #526dd5 0, #2d48ac 45%, #172768 92%);
  color: white;
}
.device-bar { justify-content: space-between; gap: .6rem; }
.online { font-size: .83rem; display: inline-flex; gap: .42rem; align-items: center; }
.online::before { content: ""; width: .53rem; height: .53rem; border-radius: 50%; background: #a6f2b9; }
.model-switch { align-self: start; border: 1px solid #a2b2ec; border-radius: .6rem; padding: .2rem; margin-top: .85rem; }
.model-switch label { position: relative; cursor: pointer; }
.model-switch span { display: block; padding: .35rem .85rem; border-radius: .37rem; font-weight: 600; }
.model-switch input { position: absolute; clip-path: inset(50%); }
.model-switch input:checked + span { background: #f6f8ff; color: #152867; }
.model-switch input:focus-visible + span, :focus-visible { outline: 3px solid #ef8c34; outline-offset: 3px; }
.printer { display: block; width: 97%; height: auto; align-self: center; margin: auto; padding: 1rem 0; }
.device-details { justify-content: space-between; align-items: start; gap: 1rem; border-top: 1px solid #8298dd; padding-top: 1rem; }
.device-details > div { display: grid; }
.spec, .stock { color: #e2e9ff; font-size: .88rem; }
.device-details strong { font-size: clamp(1.25rem, 2.7vw, 1.65rem); font-weight: 600; letter-spacing: -.045em; }
.work { display: flex; flex-direction: column; background: #fff; border: 1px solid #d7dbe5; }
.settings, .output { padding: clamp(1.25rem, 3vw, 2rem); }
.settings label { display: block; margin: 1rem 0 .35rem; }
select, button { font: inherit; width: 100%; padding: .65rem .85rem; min-height: 2.75rem; border-radius: .55rem; }
select { border: 1px solid #939cb0; background: white; color: inherit; }
button { display: flex; justify-content: space-between; align-items: center; margin-top: .85rem; cursor: pointer; border: 0; color: #fff; background: #233894; font-weight: 600; }
button:hover { background: #18296e; }
.output { flex: 1; border-top: 1px solid #d7dbe5; background: #fff9ed; min-height: 10.5rem; }
.output p { font-size: .98rem; margin-top: .7rem; }
.output[data-pass="true"] { background: #eaf6ed; }
.output[data-pass="true"] #result { color: #17452e; }
.strip { gap: .42rem; margin-top: .65rem; }
.thermal {
  width: 6.85rem; min-height: 4.45rem; border: 1px solid #d4cbbb; border-radius: .4rem; padding: .42rem .65rem;
  color: #242322; background: #fffefa; box-shadow: 0 2px 3px #2124310d;
}
.thermal b, .thermal small { font: 600 .57rem/1 monospace; }
.thermal b { display:block; letter-spacing: .04em; }
.barcode { display:block; height: 1.18rem; margin: .33rem 0 0; background: repeating-linear-gradient(90deg,#292722 0 2px,transparent 2px 4px,#292722 4px 5px,transparent 5px 7px,#292722 7px 11px,transparent 11px 14px); }
.fault { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 .62rem; margin: 1.2rem 0 0; width: fit-content; cursor: pointer; font-weight: 600; }
.fault input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: #263d9c; }
.fault span { grid-column: 2; font-size: .92rem; font-weight: 400; color: #484d60; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 42rem) {
  .bench { grid-template-columns: 1fr; gap: .8rem; }
  .device { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: .5rem; }
  .device-bar, .device-details { grid-column: 1/-1; }
  .printer { max-width: 10.8rem; padding: 0; margin: 0 0 .1rem auto; }
  .model-switch { margin: .8rem 0 0; }
  .device-details { justify-content: start; gap: 1.9rem; padding-top: .5rem; }
  .stock { display: none; }
  .intro { margin: .8rem 0 1.1rem; }
  .identity { gap: .5rem; }
  header a { font-size: .82rem; }
}
@media print { .fault, header a, button { display: none; } }
