@charset "UTF-8";
.qr-camera-layout {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}
.qr-camera-copy h2 {
  font-size: 64px;
  line-height: 1.04;
}
.qr-camera-copy .eyebrow {
  font-size: 13px;
  margin-bottom: 18px;
}
.qr-camera-hint {
  font-size: 25px;
  line-height: 1.3;
  margin-top: 24px;
  color: var(--muted);
}
.qr-camera-hint strong { color: var(--accent); }
.qr-camera-rule {
  font-size: 24px;
  line-height: 1.3;
  margin-top: 20px;
  color: var(--ink);
}
.qr-camera-disclosure {
  font-size: 11px;
  color: var(--muted);
  margin-top: 22px;
}
.qr-camera-scene {
  position: relative;
  height: 520px;
  isolation: isolate;
}
.qr-camera-scene::before {
  content: "";
  position: absolute;
  inset: 20px 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, #dce9dfaa, transparent 70%);
}
.urssaf-demo-letter {
  position: absolute;
  top: 28px;
  left: 20px;
  width: 345px;
  padding: 20px 27px 16px;
  background: #fffef9;
  border: 1px solid #dddcd3;
  box-shadow: 0 22px 40px #172c381a;
  transform: rotate(-5deg);
}
.urssaf-demo-letter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 3px solid #2c728f;
}
.urssaf-demo-letter-head strong,
.qr-camera-paper > strong {
  font-size: 32px;
  letter-spacing: -0.055em;
  color: #225f82;
}
.urssaf-demo-letter-head > span {
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
  color: #5c6c74;
}
.urssaf-demo-reference {
  font-size: 11px;
  line-height: 1.2;
  margin-top: 10px;
  color: #778188;
}
.urssaf-demo-letter h3 {
  font-size: 21px;
  line-height: 1.12;
  margin-top: 10px;
  letter-spacing: -0.04em;
}
.urssaf-demo-message {
  font-size: 13px;
  line-height: 1.25;
  margin-top: 8px;
}
.urssaf-demo-qr {
  display: block;
  width: 120px;
  height: 120px;
  background: white;
  margin: 8px auto 4px;
}
.urssaf-demo-url {
  font-size: 10px;
  text-align: center;
  color: #566775;
  overflow-wrap: anywhere;
}
.urssaf-demo-stamp {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  text-align: center;
  letter-spacing: 0.12em;
  color: #8d6f63;
}
.qr-camera-phone {
  position: absolute;
  right: 25px;
  top: 0;
  width: 288px;
  height: 514px;
  border: 3px solid #485058;
  border-radius: 43px;
  background: #11181e;
  padding: 7px;
  box-shadow: 15px 22px 40px #172c3833, inset 0 0 0 2px #05090e;
  transform: rotate(3deg);
}
.qr-camera-screen {
  height: 100%;
  position: relative;
  border-radius: 33px;
  overflow: hidden;
  background: #101820;
  color: #fff;
}
.qr-camera-island {
  position: absolute;
  width: 82px;
  height: 21px;
  top: 14px;
  left: calc(50% - 41px);
  border-radius: 20px;
  background: #05090e;
}
.qr-camera-status {
  height: 33px;
  padding: 8px 18px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 650;
}
.qr-camera-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 20px;
  font-size: 20px;
}
.qr-camera-viewfinder {
  position: absolute;
  inset: 63px 0 91px;
  overflow: hidden;
  background: linear-gradient(140deg, #a6a99d, #d5d2c8);
}
.qr-camera-paper {
  position: absolute;
  top: -12px;
  left: 10px;
  right: 10px;
  min-height: 335px;
  padding: 19px 18px;
  text-align: center;
  background: #fffef9;
  box-shadow: 0 8px 16px #182a3526;
}
.qr-camera-paper > strong {
  display: block;
  text-align: left;
  font-size: 27px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2c728f;
}
.qr-camera-paper > span {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #283945;
  margin-top: 12px;
}
.qr-camera-paper-lines {
  height: 17px;
  margin: 8px 0;
  background: repeating-linear-gradient(0deg, transparent 0 6px, #d8dad2 6px 7px);
}
.qr-camera-paper img {
  display: block;
  width: 146px;
  height: 146px;
  margin: 0 auto;
  background: white;
}
.qr-camera-paper small {
  display: block;
  color: #596772;
  font-size: 8px;
  margin-top: 8px;
}
.qr-camera-target {
  position: absolute;
  top: 116px;
  left: calc(50% - 79px);
  width: 158px;
  height: 158px;
}
.qr-camera-target .scan-corner {
  border-color: #f7d25c;
  width: 22px;
  height: 22px;
  border-width: 3px;
}
.qr-camera-scan-line {
  position: absolute;
  top: 12px;
  left: 7px;
  right: 7px;
  height: 2px;
  background: #f7d25c;
  box-shadow: 0 0 10px #f7d25c;
  animation: qr-camera-scan 2.4s ease-in-out infinite alternate paused;
}
.qr-camera-slide[data-current-step="1"] .qr-camera-scan-line,
.qr-camera-slide[data-current-step="2"] .qr-camera-scan-line { opacity: 0; }
.qr-camera-link {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 10px;
  right: 10px;
  padding: 12px 13px;
  border: 1px solid #ebc95d;
  border-radius: 15px;
  background: #fff8dd;
  color: #27313b;
  box-shadow: 0 8px 24px #172c3830;
}
.qr-camera-link-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #75652b;
}
.qr-camera-link-label .icon { width: 15px; height: 15px; }
.qr-camera-destination {
  font-size: 14px;
  line-height: 1.25;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.qr-camera-destination > span { display: block; }
.qr-camera-destination > strong { color: #ac432c; }
.qr-camera-link > small { font-size: 10px; }
.qr-camera-mock-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid #e2d29d;
  font-size: 11px;
}
.qr-camera-mock-open .icon { width: 14px; height: 14px; }
.qr-camera-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 91px;
  padding: 8px 18px 12px;
}
.qr-camera-modes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 8px;
  color: #b6bec5;
}
.qr-camera-modes strong { color: #f7d25c; font-weight: 650; }
.qr-camera-shutter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.qr-camera-shutter {
  width: 47px;
  height: 47px;
  border: 3px solid white;
  border-radius: 50%;
  background: white;
  box-shadow: inset 0 0 0 3px #101820;
}
.qr-camera-thumb {
  width: 29px;
  height: 29px;
  border-radius: 6px;
  background: linear-gradient(145deg, #f9eee3 40%, #7b9084);
}
.qr-camera-switch { width: 29px; font-size: 24px; text-align: center; }
@keyframes qr-camera-scan { to { transform: translateY(132px); } }
@media (max-width: 759px) {
  .qr-camera-layout { grid-template-columns: 1fr; gap: 30px; }
  .qr-camera-copy h2 { font-size: 50px; }
  .qr-camera-hint { font-size: 23px; margin-top: 20px; }
  .qr-camera-rule { font-size: 22px; }
  .qr-camera-scene { height: 615px; width: 100%; max-width: 430px; margin: auto; }
  .urssaf-demo-letter { top: 0; left: 0; width: 245px; padding: 20px; transform: rotate(-3deg); }
  .urssaf-demo-letter h3 { font-size: 21px; }
  .urssaf-demo-qr { width: 120px; height: 120px; }
  .qr-camera-phone { top: 90px; right: 4px; width: 268px; height: 500px; transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce), print {
  .qr-camera-slide *, .qr-camera-slide *::before { animation: none !important; transition: none !important; }
}
@media print {
  .qr-camera-scan-line { display: none; }
  .qr-camera-phone { transform: none; }
}
