:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #172536;
  background: #f3f5f6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.card {
  width: min(390px, 100%);
  padding: 28px;
  border: 1px solid #dfe5e9;
  border-radius: 14px;
  background: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #c74432;
  color: #fff;
  font-weight: 900;
}
.brand div {
  display: flex;
  flex-direction: column;
}
.brand strong {
  font-size: 15px;
}
.brand small {
  margin-top: 2px;
  color: #6d7988;
  font-size: 10px;
}
.intro {
  margin: 34px 0 22px;
}
.intro b {
  color: #13899a;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.intro h1 {
  margin: 9px 0 7px;
  font-size: 23px;
}
.intro p,
.content p {
  margin: 0;
  color: #647281;
  font-size: 12px;
  line-height: 1.6;
}
form {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  color: #52606d;
  font-size: 10px;
  font-weight: 700;
}
input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d8e0e6;
  border-radius: 7px;
  outline: none;
}
input:focus {
  border-color: #13899a;
  box-shadow: 0 0 0 3px #e8f5f6;
}
button {
  height: 46px;
  border: 0;
  border-radius: 7px;
  background: #13899a;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.error {
  padding: 10px 12px;
  border-radius: 6px;
  background: #fdecee;
  color: #b83c44;
  font-size: 10px;
}
.card footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid #edf0f2;
  color: #8a949e;
  font-size: 8px;
}
.card footer span:last-child {
  text-align: right;
}
.app {
  min-height: 100vh;
  max-width: 520px;
  margin: auto;
  background: #fff;
}
.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #dfe5eb;
}
.app-head .brand > span {
  width: 36px;
  height: 36px;
}
.logout {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dfe5eb;
  background: #fff;
  color: #667482;
}
.content {
  padding: 40px 24px;
}
.ready {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8f5ef;
  color: #26886d;
  font-size: 9px;
  font-weight: 750;
}
.content h1 {
  margin: 15px 0 10px;
  font-size: 25px;
}
.location {
  width: 100%;
  margin-top: 25px;
}
.state {
  margin-top: 12px;
  color: #647281;
  font-size: 10px;
  text-align: center;
}
.alarm-area {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e2e7eb;
}
.alarm-area h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
.alarm {
  width: 100%;
  height: 72px;
  margin-top: 18px;
  border: 2px solid #a51f2a;
  border-radius: 12px;
  background: #d43c49;
  box-shadow: 0 5px 0 #98202a;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.alarm:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #98202a;
}
.alarm:disabled {
  cursor: wait;
  opacity: 0.65;
}
.alarm-state {
  min-height: 18px;
  margin-top: 14px;
  color: #a51f2a;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}
dl div {
  padding: 14px;
  border: 1px solid #e2e7eb;
  border-radius: 8px;
}
dt {
  color: #7a8793;
  font-size: 9px;
}
dd {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
}
