* {
  box-sizing: border-box;
}

html {
  background: #f4f8f8;
}

body {
  min-width: 320px;
  margin: 0;
  color: #203b49;
  background: #f4f8f8;
  font-family: Arial, Helvetica, sans-serif;
}

.public-devices-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.public-devices-header {
  border-bottom: 1px solid #dce8e8;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(12, 51, 71, .05);
}

.public-devices-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-devices-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #0b2d46;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.public-devices-brand img {
  max-width: 210px;
  max-height: 52px;
  object-fit: contain;
}

.public-devices-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-devices-login {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid #0aa590;
  border-radius: 9px;
  color: #087f70;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.public-devices-login:hover {
  color: #ffffff;
  background: #0aa590;
}

.public-devices-main {
  padding: 58px 0 80px;
}

.public-devices-intro {
  max-width: 800px;
  margin-bottom: 30px;
}

.public-devices-intro h1 {
  margin: 0;
  color: #0b2d46;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.public-devices-accent {
  width: 64px;
  height: 4px;
  margin-top: 20px;
  border-radius: 2px;
  background: #12b6a0;
}

.public-devices-list {
  overflow: hidden;
  padding: 20px 24px 28px;
  border: 1px solid #dce8e8;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(12, 51, 71, .08);
}

.public-devices-scroll {
  overflow-x: auto;
  color: #5b707a;
  -webkit-overflow-scrolling: touch;
}

.public-devices-scroll > table {
  min-width: 760px;
  border-collapse: collapse;
}

.public-devices-list-models-only .public-devices-scroll > table {
  min-width: 460px;
}

.public-devices-scroll select.form_window {
  max-width: 250px;
  height: 38px;
  margin: 6px 0;
  padding: 0 34px 0 11px;
  border: 1px solid #cddddd;
  border-radius: 8px;
  color: #294652;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.public-devices-scroll .mtd,
.public-devices-scroll .mtdesc {
  padding: 14px 12px !important;
  border-bottom: 1px solid #e3ecec !important;
  color: #526873 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  vertical-align: middle;
}

.public-devices-scroll .hmodel .mtd,
.public-devices-scroll .hmodel .mtdesc {
  color: #173b49 !important;
  background: #f1f7f6;
}

.public-devices-scroll .lineimage img {
  width: auto !important;
  max-width: 150px;
  max-height: 92px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .public-devices-container {
    width: calc(100% - 24px);
  }

  .public-devices-header-inner {
    min-height: 66px;
  }

  .public-devices-brand {
    gap: 9px;
    font-size: 18px;
  }

  .public-devices-brand img {
    max-width: 150px;
    max-height: 42px;
  }

  .public-devices-login {
    padding: 8px 12px;
    font-size: 13px;
  }

  .public-devices-main {
    padding: 38px 0 56px;
  }

  .public-devices-intro {
    margin-bottom: 22px;
  }

  .public-devices-list {
    margin: 0 -12px;
    padding: 12px 12px 22px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}
