:root {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #1d3029;
  background: #f4f5f1;
  font-size: 15px;
  --green: #153e35;
  --mint: #dcece2;
  --muted: #6b7972;
  --line: #dfe5df;
  --orange: #b36635;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
}
button,
a.button {
  cursor: pointer;
}
button,
.button {
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
  padding: 12px 17px;
  border-radius: 9px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.secondary {
  background: #f7f8f4;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 35px;
  letter-spacing: -1.3px;
  font-weight: 600;
  margin-bottom: 12px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  font-weight: 600;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
p {
  line-height: 1.6;
}
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #708179;
  margin-bottom: 13px;
}
.brand {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 1px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  gap: 20px;
}
.login-art {
  background: var(--green);
  color: white;
  padding: 50px 55px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 650px;
  background-image: radial-gradient(
    ellipse at 95% 75%,
    #38664e 0,
    transparent 50%
  );
}
.login-art h1 {
  font-family: Georgia, serif;
  font-size: 68px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.05;
}
.login-art p:not(.eyebrow) {
  color: #becfc4;
  font-size: 18px;
}
.login-art .eyebrow,
.login-art small {
  color: #aabeb1;
}
.login-form {
  max-width: 390px;
  width: 100%;
  align-self: center;
  justify-self: center;
  padding: 25px;
}
.login-form h2 {
  font-size: 30px;
}
form label {
  display: block;
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 600;
}
input,
select {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccd6ce;
  border-radius: 7px;
  background: #fff;
  color: #20372c;
  margin-top: 8px;
  outline: none;
}
input:focus,
select:focus {
  border-color: #3c7660;
  box-shadow: 0 0 0 3px #dcece2;
}
form .primary {
  width: 100%;
  margin-top: 24px;
}
.login-form small {
  display: block;
  margin-top: 34px;
  font-size: 11px;
}
.error {
  color: #a03c37;
  font-size: 13px;
  margin-top: 14px;
}
.center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.narrow {
  width: min(440px, 100%);
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 28px;
}
aside {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 245px;
  background: var(--green);
  color: #fff;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
}
.aside-caption {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: #a2b9ab;
  margin-top: 11px;
}
nav {
  margin-top: 66px;
  display: grid;
  gap: 12px;
}
.nav {
  background: transparent;
  border: 0;
  text-decoration: none;
  color: #bdcfc2;
  padding: 14px;
  text-align: left;
  justify-content: flex-start;
  font-size: 16px;
  border-radius: 8px;
  gap: 15px;
}
.nav span {
  font-size: 13px;
}
.nav.active {
  background: #30554a;
  color: white;
}
.aside-bottom {
  margin-top: auto;
  font-size: 11px;
  color: #a7bbae;
}
.aside-bottom button {
  display: block;
  font-size: 11px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #dbe7de;
}
.connection-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #91b899;
  border-radius: 100%;
  margin-right: 6px;
}
main {
  margin-left: 245px;
  padding: 46px 48px;
  max-width: 1800px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}
header p {
  margin-bottom: 0;
}
header .eyebrow {
  margin-bottom: 15px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stats article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
}
.stats article > span {
  font-size: 12px;
  color: var(--muted);
}
.stats strong {
  display: block;
  font-size: 39px;
  letter-spacing: -1.5px;
  font-weight: 600;
  margin: 14px 0;
}
.stats strong span {
  font-size: 22px;
}
.stats small {
  font-size: 10px;
}
.stats .policy-stat {
  background: #e7eee5;
  border-color: #d2dfd0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 20px;
}
.section-heading h2 {
  margin: 0;
  font-size: 19px;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.filter-label select {
  width: 165px;
  margin: 0;
  font-size: 12px;
  padding: 8px;
}
.devices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.device {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 24px;
}
.device-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.tablet-icon {
  height: 36px;
  width: 29px;
  border: 2px solid #799281;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #799281;
  font-size: 20px;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  border-radius: 30px;
  padding: 5px 9px;
  background: #e3f0e5;
  color: #366141;
  gap: 5px;
  height: 25px;
}
.badge.offline {
  background: #efefec;
  color: #777;
}
.badge.warn {
  background: #fbf0df;
  color: #94662d;
}
.store {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 25px;
}
.device-info {
  border-top: 1px solid #edf0eb;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.device-info span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.device-info strong {
  font-size: 12px;
  font-weight: 500;
}
.device button {
  width: 100%;
  margin-top: 6px;
  font-size: 12px;
  background: #f7f8f5;
}
.empty {
  background: white;
  border: 1px dashed #cbd9cb;
  border-radius: 14px;
  padding: 50px;
  text-align: center;
}
.empty-icon {
  font-size: 40px;
  color: #76907b;
  margin-bottom: 20px;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.footnote {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 30px;
  font-size: 11px;
  color: #7f8c82;
}
.footnote strong {
  color: #556d5d;
  font-weight: 600;
}
.activity-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.activity-row:last-child {
  border: 0;
}
dialog {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 16px;
  width: min(520px, 95vw);
  max-height: 90vh;
  color: #20372c;
}
dialog::backdrop {
  background: #13241dc2;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.dialog-heading h2 {
  margin-bottom: 12px;
}
.dialog-heading .eyebrow {
  margin-bottom: 8px;
}
.close {
  border: 0;
  font-size: 25px;
  padding: 0 6px;
  background: transparent;
  line-height: 1;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.check input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--green);
}
#enrollCode {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 25px;
}
#code {
  font-size: 29px;
  letter-spacing: 3px;
  display: block;
  margin: 18px 0;
}
.detail-status {
  padding: 15px;
  background: #f0f4ed;
  border-radius: 8px;
  line-height: 1.8;
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
}
.actions button {
  font-size: 11px;
  padding: 10px;
}
.actions + p {
  font-size: 11px;
  margin-top: 15px;
}
#recentRequests {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.support {
  width: min(1100px, 96vw);
}
.screen {
  background: #111b17;
  border-radius: 10px;
  min-height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 10px 0;
}
.screen img {
  display: block;
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  touch-action: none;
  cursor: crosshair;
}
.support-controls {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}
.support-controls input {
  margin: 0;
  flex: 1;
}
.support small {
  font-size: 10px;
}
#toast {
  position: fixed;
  z-index: 10000;
  right: 25px;
  top: 20px;
  background: #213e31;
  color: white;
  max-width: 450px;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 35px #0002;
  font-size: 13px;
}
@media (min-width: 1700px) {
  .devices {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1200px) {
  main {
    padding: 35px 25px;
    margin-left: 205px;
  }
  aside {
    width: 205px;
    padding: 30px 20px;
  }
  .brand {
    font-size: 17px;
  }
  .devices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    gap: 10px;
  }
  .stats article {
    padding: 18px;
  }
  .stats small {
    line-height: 1.5;
    display: block;
  }
}
@media (max-width: 800px) {
  .login {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .login-art {
    display: none;
  }
  .login-form {
    max-width: 420px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  aside {
    position: static;
    width: auto;
    padding: 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .aside-caption,
  .aside-bottom {
    display: none;
  }
  nav {
    display: flex;
    margin: 0;
    gap: 4px;
  }
  .nav {
    padding: 10px;
  }
  .nav span {
    display: none;
  }
  main {
    margin: 0;
    padding: 25px 18px;
  }
  h1 {
    font-size: 28px;
  }
  header {
    gap: 20px;
  }
  header .primary {
    font-size: 12px;
    padding: 11px;
  }
  .devices {
    gap: 12px;
  }
  .device {
    padding: 18px;
  }
  .activity-row {
    grid-template-columns: 90px 1fr;
  }
  .activity-row span:last-child {
    grid-column: 2;
  }
}
@media (max-width: 480px) {
  .devices {
    grid-template-columns: 1fr;
  }
  header .muted {
    font-size: 12px;
  }
  .stats strong {
    font-size: 32px;
  }
  .filter-label {
    font-size: 0;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .support-controls {
    flex-wrap: wrap;
  }
  .support-controls input {
    min-width: 180px;
  }
  dialog {
    padding: 22px;
  }
}
