* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #dbdbdb; color: #1f2d44;
  font: 16px/1.5 "Segoe UI", Roboto, -apple-system, sans-serif;
  display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px;
}
.box { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.box.wide { max-width: 480px; }
input[type=password] {
  width: 100%; font: inherit; font-size: 18px; padding: 12px 14px;
  background: #fff; color: #1f2d44; border: 1.5px solid #89a0c5; border-radius: 12px; outline: none;
}
input[type=password]:focus { border-color: #3f5f8f; }
button {
  width: 100%; font: inherit; font-weight: 700; font-size: 17px; padding: 12px;
  background: #3f5f8f; color: #fff; border: 0; border-radius: 12px; cursor: pointer;
}
button:hover { background: #2f4a72; }
button.ghost { background: transparent; color: #3f5f8f; font-weight: 600; font-size: 14px; padding: 8px; }
form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.rem { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3f5f8f; }
.rem input { width: 18px; height: 18px; accent-color: #3f5f8f; }
.flash { margin: 0; padding: 10px 12px; background: #f3d9d5; color: #7a2e25; border-radius: 10px; font-size: 14px; }
code { font-size: 12px; }
.app {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: #9bb4dc; border: 1.5px solid #89a0c5; border-radius: 12px; padding: 16px 18px;
  color: #000; font-weight: 700; font-size: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.app:hover { background: #89a0c5; }
.ico { font-size: 26px; }
.out { margin-top: 8px; }
