:root {
  color-scheme: light;
  --blue: #305ce9;
  --ink: #18253d;
  --muted: #586981;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #f4f7fb;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 32px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #7d9cff; outline-offset: 3px; }
.access { width: min(930px, 100%); min-height: 532px; overflow: hidden; border-radius: 22px; display: grid; grid-template-columns: 36% 1fr; background: #fff; box-shadow: 0 14px 55px #22395513, 0 1px 3px #22395512; border: 1px solid #dce3ed; }
.identity { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; color: white; padding: 37px 32px; background: linear-gradient(150deg,#172338 14%,#203653 70%,#294673); }
.brand { display: flex; align-items: center; font-size: 35px; line-height: 1; font-weight: 730; letter-spacing: -2px; }
.brand-dot { color: #ffbe83; }
.brand-mark { display: block; width: 42px; height: 42px; flex: none; margin-right: 10px; }
.art { position: relative; height: 220px; width: 220px; align-self: center; }
.art-grid { position: absolute; inset: -25px -80px; opacity: .45; transform: rotate(-13deg); background-image: linear-gradient(#87a7e030 1px,transparent 1px),linear-gradient(90deg,#87a7e030 1px,transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(ellipse at center,#000 18%,transparent 70%); }
.paper { width: 116px; height: 158px; position: absolute; left: 49px; top: 29px; border-radius: 5px; }
.paper-back { background: linear-gradient(140deg,#a6c0ff,#7094ef); transform: translate(20px,5px) rotate(19deg); box-shadow: 0 12px 18px #071b3742; }
.paper-front { padding: 18px 15px; transform: rotate(8deg); background: linear-gradient(145deg,#fff,#dce8ff); clip-path: polygon(0 0,100% 0,100% 96%,94% 100%,88% 96%,82% 100%,76% 96%,70% 100%,64% 96%,58% 100%,52% 96%,46% 100%,40% 96%,34% 100%,28% 96%,22% 100%,16% 96%,10% 100%,4% 96%,0 99%); }
.paper-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.paper-top img { display: block; }
.paper-top b { width: 33px; height: 4px; border-radius: 1px; background: #607394; }
.line, .paper-rows i { display: block; height: 3px; background: #b8c9e8; border-radius: 2px; margin-top: 5px; }
.line.long { width: 55%; } .line.shorter { width: 37%; }
.paper-rows { border-top: 1px solid #c7d4e8; margin-top: 13px; padding-top: 5px; }
.paper-rows i { height: 4px; background: linear-gradient(90deg,#b4c7e9 42%,transparent 42% 82%,#b4c7e9 82%); margin: 6px 0; }
.lock-tile { position: absolute; left: 132px; top: 139px; width: 57px; height: 62px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(140deg,#89b0ff,#487bec); border: 2px solid #b8ceff; box-shadow: 2px 6px 10px #0c214540; transform: rotate(8deg); }
.lock-tile svg { width: 29px; height: 29px; }
.steps { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 550; color: #c6d1e3; }
.step-no { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #69809d; border-radius: 50%; color: #d9e3f2; font-size: .8rem; font-variant-numeric: tabular-nums; }
.steps [aria-current="step"] { color: white; }
.steps [aria-current="step"] .step-no { background: #eaf0ff; border-color: #eaf0ff; color: #294a94; }
.panel { display: grid; align-items: center; min-width: 0; padding: 50px clamp(24px,5.2vw,76px); }
.panel-inner { max-width: 400px; width: 100%; margin: 0 auto; }
h1 { margin: 0 0 10px; font-size: clamp(1.7rem,3.6vw,2.2rem); font-weight: 670; letter-spacing: -.05em; line-height: 1.15; }
.intro,.setup { color: var(--muted); line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.intro { margin-bottom: 26px; }
.setup { margin: 10px 0 20px; }
form > label { display: block; margin: 15px 0 7px; font-weight: 600; font-size: .9rem; }
input { display: block; width: 100%; min-width: 0; min-height: 44px; border-radius: 8px; border: 1px solid #c8d3e0; background: #fff; color: var(--ink); padding: 10px 13px; }
input:hover { border-color: #96a9c3; }
.password-wrap { position: relative; }
#password { padding-right: 46px; }
.eye { display: grid; place-items: center; position: absolute; top: 2px; right: 2px; width: 40px; height: calc(100% - 4px); border: none; border-radius: 6px; color: #60718a; background: transparent; }
.eye svg { width: 20px; height: 20px; }
#eye-strike { display: none; } .eye.visible #eye-strike { display: inline; }
#code { font-variant-numeric: tabular-nums; letter-spacing: .23em; font-size: 1.3rem; }
.code-time { color: var(--muted); font-size: .87rem; margin: 9px 0 0; font-variant-numeric: tabular-nums; }
.primary,.outline { min-height: 44px; border: none; border-radius: 8px; font-weight: 620; font-size: .95rem; padding: 9px 15px; }
.primary { width: 100%; background: var(--blue); color: white; margin-top: 23px; }
.primary:hover:enabled { background: #254ed0; }
.outline { border: 1px solid #b8c6d9; background: #fff; color: var(--ink); }
.primary:disabled,.outline:disabled,.text-button:disabled { opacity: .6; }
.secondary-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.text-button { padding: 8px 0; border: none; border-radius: 4px; background: transparent; font-size: .88rem; font-weight: 600; color: #244fca; }
.text-button:hover:enabled { text-decoration: underline; } .text-button.quiet { color: var(--muted); }
.message { font-size: .91rem; line-height: 1.45; overflow-wrap: anywhere; }
.message:not(:empty) { border-radius: 7px; margin-top: 16px; padding: 10px 12px; }
.error:not(:empty) { color: #912a32; background: #fff0f2; }
.success:not(:empty) { color: #245a48; background: #e9f6ef; }
@media(max-width: 710px) {
  body { padding: 18px; }
  .access { grid-template-columns: 1fr; max-width: 480px; min-height: auto; }
  .identity { padding: 23px 26px; }
  .art { display: none; }
  .brand { font-size: 29px; }
  .brand-mark { transform: scale(.85); transform-origin: left center; margin-right: 2px; }
  .steps { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
  .steps li { font-size: .8rem; gap: 6px; }
  .step-no { width: 22px; height: 22px; }
  .panel { padding: 30px 26px 34px; }
}
@media(max-width: 360px) {
  body { padding: 10px; }
  .identity,.panel { padding-left: 18px; padding-right: 18px; }
}
