:root {
  --blue: #0759d3;
  --ink: #172c4b;
  --muted: #78869a;
  --line: #e6ebf2;
  --bg: #f5f7fb;
  --green: #139c75;
  --red: #d85355;
  --amber: #bd8515;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans Thai", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 9px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}
button:hover {
  background: #f0f5fd;
  border-color: #b4c9eb;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.primary:hover {
  background: #0048b6;
  color: white;
}
.danger {
  color: var(--red);
  border-color: #f1c9ca;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.7px;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
small,
.muted {
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: white;
  border-right: 1px solid var(--line);
  padding: 31px 19px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
}
.brand img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}
.workspace {
  background: #f6f8fc;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 10px;
  margin: 33px 8px 29px;
  font-size: 12px;
}
.workspace strong {
  display: block;
  font-size: 13px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #98a3b4;
  padding: 0 16px;
  margin-bottom: 9px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #75839a;
  padding: 12px 16px;
  border-radius: 9px;
  font-weight: 500;
}
.nav a:hover {
  background: #f5f8fd;
}
.nav a.active {
  background: #eaf2ff;
  color: var(--blue);
}
.nav .count {
  margin-left: auto;
  background: #ffe7e6;
  color: #cc4b48;
  font-size: 11px;
  padding: 0 6px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 9px 0;
}
.sidebar-bottom .profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  cursor: pointer;
}
.avatar {
  width: 35px;
  height: 35px;
  background: #edf3fd;
  color: var(--blue);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.profile .text {
  min-width: 0;
  flex: 1;
}
.profile b {
  font-size: 12px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile small {
  font-size: 10px;
}
.shell-main {
  min-width: 0;
}
.topbar {
  height: 83px;
  padding: 0 37px;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.crumb {
  font-size: 12px;
  color: #98a1b0;
  display: flex;
  gap: 12px;
  align-items: center;
}
.crumb b {
  color: #4a5b74;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.top-actions button {
  padding: 5px 8px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 0 3px #ebf8f2;
}
.dot.off {
  background: #a3afc0;
  box-shadow: none;
}
.content {
  max-width: 1650px;
  margin: 0 auto;
  padding: 30px 37px 40px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--blue);
  font-weight: 650;
  margin-bottom: 4px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  position: relative;
  box-shadow: 0 3px 5px #142e4a02;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
}
.stat-value {
  font:
    600 31px Arial,
    sans-serif;
  letter-spacing: -0.7px;
  margin: 14px 0 9px;
}
.stat-value small {
  font: 13px "Noto Sans Thai";
  letter-spacing: 0;
}
.stat-foot {
  font-size: 10px;
  color: var(--muted);
}
.stat-symbol {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #edf4ff;
}
.stat.green .stat-symbol {
  color: var(--green);
  background: #eaf8f3;
}
.stat.red .stat-symbol {
  color: var(--red);
  background: #fff0ef;
}
.stat.purple .stat-symbol {
  color: #8d6bb7;
  background: #f4f0fc;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  padding: 21px 23px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.panel-body {
  padding: 0 23px 22px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(265px, 1fr);
  gap: 22px;
  margin-bottom: 25px;
}
.chart-wrap {
  position: relative;
  height: 252px;
  width: 100%;
}
.chart-wrap.large {
  height: 310px;
}
.segmented {
  display: flex;
  background: #f3f6fa;
  border-radius: 7px;
  padding: 3px;
  gap: 2px;
}
.segmented button {
  background: none;
  border: 0;
  border-radius: 5px;
  font-size: 11px;
  padding: 5px 10px;
  color: var(--muted);
}
.segmented button.selected {
  background: white;
  color: var(--blue);
  box-shadow: 0 1px 4px #142e4a0e;
}
.fleet-ring {
  width: 162px;
  height: 162px;
  margin: 0 auto 22px;
  position: relative;
  display: grid;
  place-items: center;
  border: 17px solid #edf2f8;
  border-top-color: var(--blue);
  border-right-color: var(--blue);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.fleet-ring div {
  transform: rotate(30deg);
  text-align: center;
}
.fleet-ring b {
  font: 600 29px Arial;
  display: block;
}
.fleet-ring small {
  font-size: 11px;
}
.health-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 12px;
}
.health-row b {
  margin-left: auto;
}
.health-row .key {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--blue);
}
.health-row .key.off {
  background: #c6d0dd;
}
.health-row .key.alarm {
  background: #efaa45;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f9fafc;
  color: #8a96a8;
  font-size: 10px;
  font-weight: 500;
  padding: 12px 23px;
  border-top: 1px solid #f0f3f7;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 23px;
  border-bottom: 1px solid #f0f3f7;
  font-size: 12px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcff;
}
.device-name {
  display: flex;
  gap: 12px;
  align-items: center;
}
.device-name b {
  font-weight: 600;
  font-size: 12px;
  display: block;
  color: var(--ink);
}
.device-name small {
  font-size: 10px;
}
.device-icon {
  width: 35px;
  height: 42px;
  border: 1px solid #dce8f6;
  border-radius: 8px;
  background: #f0f5fc;
  display: grid;
  place-items: center;
  color: #477dc3;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  line-height: 1.5;
  background: #f0f3f7;
  color: #8591a3;
}
.badge.online {
  background: #edf9f4;
  color: #15976f;
}
.badge.alarm {
  background: #fff3e7;
  color: #bf8229;
}
.badge.error {
  background: #fff0ef;
  color: var(--red);
}
.badge.info {
  background: #eaf2ff;
  color: var(--blue);
}
.temp {
  font: 600 17px Arial;
}
.temp small {
  font: 10px Arial;
  color: var(--muted);
  margin-left: 4px;
}
.table-footer {
  padding: 13px 23px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #94a0b1;
}
.text-link {
  padding: 0;
  background: none;
  border: 0;
  color: var(--blue);
  font-size: 11px;
}
.filters {
  display: flex;
  gap: 12px;
  padding: 0 23px 20px;
}
.filters input {
  max-width: 330px;
}
.filters select {
  width: auto;
  min-width: 145px;
}
input,
select,
textarea {
  border: 1px solid #dfe6ef;
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  font-size: 12px;
}
input:focus,
select:focus {
  outline: 2px solid #c9dffc;
  border-color: var(--blue);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
}
label input,
label select {
  margin-top: 7px;
}
label small {
  font-size: 10px;
  font-weight: 400;
}
.field {
  margin-bottom: 19px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid .field {
  margin: 0;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.form-panel {
  max-width: 820px;
}
.form-panel .panel-body {
  padding-top: 22px;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 0 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.notice {
  padding: 13px 16px;
  border: 1px solid #d8e6fb;
  background: #eff6ff;
  border-radius: 10px;
  color: #4e6f9d;
  font-size: 12px;
  margin-bottom: 20px;
}
.notice.warning {
  background: #fff9ea;
  border-color: #f5e8bf;
  color: #947327;
}
.notice.error {
  background: #fff0ef;
  border-color: #fad9d8;
  color: #bb4b4c;
}
.empty {
  text-align: center;
  padding: 55px 20px;
  color: var(--muted);
}
.empty .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: #9fb2cd;
}
.empty h3 {
  color: #526780;
  margin-bottom: 6px;
}
.empty p {
  font-size: 12px;
}
.empty button {
  margin-top: 16px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.device-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 22px;
  margin-bottom: 23px;
}
.sensor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.sensor {
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.sensor small {
  font-size: 11px;
}
.sensor strong {
  font: 500 30px Arial;
  display: block;
  margin-top: 12px;
}
.sensor strong em {
  font: 12px Arial;
  color: #92a0b3;
  margin-left: 5px;
  font-style: normal;
}
.sensor-foot {
  height: 4px;
  border-radius: 5px;
  margin-top: 19px;
  background: #eef3fa;
  overflow: hidden;
}
.sensor-foot span {
  display: block;
  width: 66%;
  height: 100%;
  background: #7aabea;
}
.status-list {
  padding: 0 22px 16px;
}
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f3f7;
  padding: 12px 0;
  font-size: 12px;
}
.status-item:last-child {
  border: 0;
}
.status-item button {
  font-size: 10px;
  padding: 3px 8px;
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
  overflow: auto;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 0;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.tabs button.active {
  border-bottom-color: var(--blue);
  color: var(--blue);
}
.settings-list td {
  padding: 12px 18px;
}
.settings-list input {
  width: 100px;
}
.settings-list td:nth-child(2) {
  white-space: normal;
  min-width: 180px;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.report-preview {
  height: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f1f6ff, #fff);
  text-align: center;
  border-radius: 12px;
}
.report-preview .icon {
  width: 50px;
  height: 50px;
  color: #6998da;
}
.report-preview p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.detail-line span {
  color: var(--muted);
}
.detail-line b {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.alert-card {
  padding: 19px 23px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.alert-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff4e8;
  color: #cf9333;
  display: grid;
  place-items: center;
}
.alert-card .text {
  flex: 1;
}
.alert-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.mobile-toggle {
  display: none;
}
.demo-bar {
  background: #fff1d2;
  color: #896621;
  text-align: center;
  padding: 5px;
  font-size: 11px;
}
.bottom-note {
  text-align: center;
  color: #9ba7b8;
  font-size: 10px;
  margin-top: 28px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
}
.login-story {
  background: #0754c3;
  position: relative;
  overflow: hidden;
  padding: 50px 65px;
  color: white;
  display: flex;
  flex-direction: column;
}
.login-story .brand {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 12px;
  background: white;
  position: relative;
  z-index: 1;
}
.login-story .brand img {
  width: 230px;
}
.login-copy {
  margin: auto 0;
  max-width: 430px;
  position: relative;
  z-index: 1;
}
.login-copy h1 {
  font-size: 41px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -1.3px;
}
.login-copy p {
  color: #bed9ff;
  font-size: 13px;
  max-width: 350px;
  margin-top: 21px;
  line-height: 1.9;
}
.login-story:after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border: 1px solid #ffffff14;
  border-radius: 50%;
  bottom: -390px;
  right: -380px;
  box-shadow:
    0 0 0 80px #ffffff04,
    0 0 0 160px #ffffff04,
    0 0 0 240px #ffffff04;
}
.login-visual {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 37px;
}
.login-visual .mini-fridge {
  width: 69px;
  height: 105px;
  border: 2px solid #7fb5ff;
  border-radius: 8px;
  position: relative;
  background: #ffffff05;
}
.mini-fridge:before {
  content: "";
  position: absolute;
  inset: 8px 8px 26px;
  border: 1px solid #a9ceff60;
  border-radius: 3px;
}
.mini-fridge:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 16px;
  right: 12px;
  top: 25px;
  background: #a9ceff;
  border-radius: 3px;
}
.login-visual small {
  color: #adcefb;
  font-size: 11px;
}
.login-story footer {
  font-size: 10px;
  color: #b4d3ff;
  position: relative;
  z-index: 1;
}
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
}
.login-form {
  width: 100%;
  max-width: 360px;
}
.login-form h2 {
  font-size: 26px;
  margin: 0 0 7px;
}
.login-form .intro {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 30px;
}
.login-form input {
  padding: 13px;
}
.login-form .primary {
  width: 100%;
  margin-top: 4px;
  padding: 13px;
}
.login-form .legal {
  font-size: 10px;
  text-align: center;
  margin-top: 25px;
  color: #96a1b1;
}
.login-form .brand {
  display: none;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 50px;
}
.password-wrap button {
  position: absolute;
  right: 7px;
  top: 8px;
  padding: 5px;
  border: 0;
}
.boot {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 3px;
}
.boot span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 10px;
}
dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  width: min(570px, calc(100% - 28px));
  max-height: 90vh;
  box-shadow: 0 20px 80px #172c4b33;
  color: var(--ink);
}
dialog::backdrop {
  background: #13274670;
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 23px 25px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.dialog-body {
  padding: 24px 25px;
}
.dialog-foot {
  padding: 16px 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.close {
  border: 0;
  padding: 4px;
  background: none;
}
.error-text {
  color: var(--red);
  font-size: 12px;
  min-height: 20px;
  margin-top: 9px;
}
#toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  padding: 13px 20px;
  background: #183652;
  color: white;
  border-radius: 11px;
  box-shadow: 0 7px 25px #18365226;
  z-index: 99;
  font-size: 12px;
  max-width: 400px;
  display: none;
}
#toast.show {
  display: block;
}
.checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-weight: 400;
}
.checklist input {
  width: 16px;
  margin: 0;
}
.nowrap {
  white-space: nowrap;
}
.api-status {
  display: flex;
  gap: 10px;
  align-items: center;
}
canvas {
  max-width: 100%;
}
.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1600px) {
  .content {
    padding: 37px 46px;
  }
  .topbar {
    padding: 0 46px;
  }
  .chart-wrap {
    height: 290px;
  }
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  .stat-symbol {
    right: 14px;
    top: 15px;
  }
  .stat-label {
    font-size: 11px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .sensor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .login-story {
    padding: 40px;
  }
}
@media (max-width: 900px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: -245px;
    z-index: 30;
    width: 238px;
    transition: left 0.2s;
    box-shadow: 5px 0 30px #172c4b18;
  }
  .sidebar.open {
    left: 0;
  }
  .mobile-toggle {
    display: inline-flex;
    border: 0;
    background: transparent;
    padding: 3px;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .crumb {
    display: none;
  }
  .content {
    padding: 23px 20px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .fleet-panel .panel-body {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
  }
  .fleet-ring {
    margin: 0;
    width: 126px;
    height: 126px;
    border-width: 13px;
  }
  .health-rows {
    flex: 1;
    max-width: 250px;
  }
  .login-copy h1 {
    font-size: 32px;
  }
  .login-story {
    padding: 35px;
  }
  .login-form-wrap {
    padding: 35px;
  }
  .top-actions {
    margin-left: auto;
  }
  .login {
    grid-template-columns: 0.9fr 1fr;
  }
  .status-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 23px;
  }
  .top-actions {
    gap: 10px;
  }
  .top-actions .clock {
    display: none;
  }
  .content {
    padding: 23px 15px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .page-heading .actions {
    width: 100%;
  }
  .page-heading .actions button {
    font-size: 11px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 27px;
  }
  .stat-symbol {
    width: 27px;
    height: 27px;
    right: 12px;
    top: 12px;
  }
  .stat-symbol .icon {
    width: 16px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .panel-head {
    padding: 18px;
    flex-wrap: wrap;
  }
  .panel-body {
    padding: 0 18px 18px;
  }
  .chart-wrap {
    height: 230px;
  }
  .panel-head h2 {
    font-size: 15px;
  }
  .filters {
    padding: 0 17px 17px;
    flex-wrap: wrap;
  }
  .filters input {
    max-width: none;
  }
  .filters select {
    flex: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .sensor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sensor {
    padding: 16px;
  }
  .sensor strong {
    font-size: 27px;
  }
  .status-grid {
    gap: 15px;
  }
  .login {
    display: block;
  }
  .login-story {
    display: none;
  }
  .login-form-wrap {
    min-height: 100vh;
    padding: 28px;
  }
  .login-form .brand {
    display: flex;
    margin: 0 0 40px;
    padding: 0;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .table-footer {
    gap: 10px;
  }
  .alert-card {
    padding: 16px;
    gap: 11px;
  }
  .alert-card .actions button {
    padding: 6px;
    font-size: 10px;
  }
  .dialog-head {
    padding: 18px;
  }
  .dialog-body {
    padding: 20px;
  }
  .segmented button {
    padding: 4px 8px;
  }
  #toast {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
  .bottom-note {
    font-size: 9px;
  }
}

.fleet-ring {
  border: 0;
  transform: none;
}
.fleet-ring:before {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: white;
}
.fleet-ring div {
  position: relative;
  transform: none;
}
.sensor-foot span {
  width: 100%;
  background: #dbe7f7;
}
