:root {
  color-scheme: light;
  font:
    16px/1.5 "Inter",
    "Segoe UI",
    system-ui,
    sans-serif;
  color: #24372d;
  background: #f7f8f1;
  --ink: #1d3d2e;
  --muted: #526458;
  --line: #d9dfd1;
  --green: #234e3a;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
a {
  color: var(--green);
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #bd7606;
  outline-offset: 3px;
}
.shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
aside {
  background: #153b2e;
  color: #eef4e3;
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  padding: 0 9px;
}
.brand span {
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.brand b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  text-transform: none;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
nav {
  display: grid;
  gap: 5px;
  margin-top: 54px;
}
nav a {
  color: #cfdfd1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  font-weight: 600;
  padding: 12px 15px;
  font-size: 14px;
}
nav a.active,
nav a:hover {
  background: #315740;
  color: white;
}
.device {
  margin-top: auto;
  padding: 20px 10px 0;
  border-top: 1px solid #44624f;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  background: #c2d799;
  border-radius: 50%;
}
main {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  padding: 24px clamp(20px, 3.7vw, 64px) 50px;
}
.notice {
  border: 1px solid #ded9b8;
  background: #f7f2dc;
  color: #5e5436;
  padding: 10px 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.ico {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
i[data-icon] {
  display: inline-flex;
}
.heading,
.sectionhead,
.controls,
.actions,
.row,
.cardlinks {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.heading,
.sectionhead {
  justify-content: space-between;
}
.heading {
  margin: 28px 0 21px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.hero h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -1.3px;
}
h1 {
  font-size: clamp(35px, 4.2vw, 60px);
  line-height: 1.03;
}
h2 {
  font-size: 30px;
}
.sub,
.meta,
small {
  color: var(--muted);
  font-size: 14px;
}
.sub {
  margin: 7px 0 0;
}
.btn,
.linkbtn,
button.copy,
.iconbtn {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 42px;
  padding: 9px 14px;
  font-weight: 650;
  font-size: 14px;
}
.btn:hover,
.linkbtn:hover,
button.copy:hover,
.iconbtn:hover {
  background: #edf2e5;
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.btn.primary:hover {
  background: #153a29;
}
.hero {
  border-radius: 12px;
  overflow: hidden;
  background: #223f32;
  color: white;
  position: relative;
  min-height: 225px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 35, 25, 0.89),
    rgba(16, 35, 25, 0.62) 40%,
    rgba(16, 35, 25, 0.04) 74%
  );
  z-index: -1;
}
.hero > div {
  padding: 27px 30px;
  max-width: 84%;
  overflow-wrap: anywhere;
}
.hero h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  color: white;
  margin: 8px 0;
}
.kicker {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero .meta {
  color: #edf3e9;
}
.hero .meta span {
  white-space: normal;
}
.hero .btn {
  background: #f5f7ed;
  color: #253e2a;
  border: 0;
  margin-top: 18px;
  min-height: 36px;
  padding: 7px 13px;
}
.fleetbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 28px;
}
.fleetbar label {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fleetbar select {
  max-width: 240px;
}
.linkbtn {
  background: transparent;
  border-color: transparent;
  padding: 6px 8px;
  color: var(--green);
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.paneltop {
  padding: 20px 23px 14px;
}
.sectionhead h2 {
  font-size: 30px;
  line-height: 1.2;
}
.controls {
  margin: 14px 0 2px;
}
.search {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #65756a;
  background: #f7f8f3;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
}
.search input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  padding: 10px 0;
  outline-offset: 0;
}
.item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #e9efdf;
  color: #405c40;
  border-radius: 9px;
}
.tile.service {
  background: #f4eedf;
  color: #745c32;
}
.item h3 {
  font-size: 16px;
  letter-spacing: -0.25px;
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}
.item .meta {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.item .actions {
  justify-content: flex-end;
  gap: 4px;
}
.copy {
  font-family: ui-monospace, monospace !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.iconbtn {
  border: 0;
  padding: 8px;
  background: transparent;
}
.empty {
  padding: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 2px;
  font-size: 13px;
  color: var(--muted);
}
input,
textarea,
select {
  color: #233b2a;
  border: 1px solid #c8d2c3;
  border-radius: 6px;
  background: #fff;
  padding: 8px 10px;
}
.data-card {
  padding: 22px;
  margin: 14px 0;
}
.data-card p {
  margin: 8px 0 14px;
}
.data-card h2 {
  font-size: 25px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #24372d;
  padding: 0;
  width: min(520px, calc(100% - 24px));
  max-height: 88dvh;
  box-shadow: 0 20px 80px #112c2540;
}
dialog::backdrop {
  background: #10291f88;
}
#modal-content {
  padding: 22px;
}
dialog h2 {
  font-size: 27px;
}
.form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
label.field {
  display: grid;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-weight: 400;
}
.field textarea {
  min-height: 70px;
  resize: vertical;
}
.form .actions {
  justify-content: flex-end;
  margin-top: 6px;
}
dialog .sub {
  font-size: 13px;
}
dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 16px;
}
dt {
  color: var(--muted);
  font-size: 14px;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.cardlinks {
  margin-top: 14px;
}
.danger {
  color: #7d3023;
}
.storagealert {
  background: #ffdbb5;
  padding: 12px;
}
#toast:not(:empty) {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #183e2d;
  color: white;
  border-radius: 7px;
  padding: 10px 18px;
  z-index: 5;
  box-shadow: 0 4px 15px #19382930;
}
dialog #toast:not(:empty) {
  position: sticky;
  left: 0;
  transform: none;
  margin-top: 10px;
}
.detail-title {
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .shell {
    grid-template-columns: 178px minmax(0, 1fr);
  }
  aside {
    padding: 24px 12px;
  }
  main {
    padding: 18px 20px 40px;
  }
  .item {
    padding: 14px;
  }
  .item .actions {
    flex-wrap: nowrap;
  }
  .hero > div {
    padding: 22px;
  }
}
@media (max-width: 680px) {
  .shell {
    display: block;
  }
  aside {
    height: auto;
    position: static;
    padding: 12px 14px 8px;
  }
  .brand {
    padding: 0 4px;
    gap: 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand span {
    font-size: 10px;
  }
  .brand b {
    font-size: 18px;
  }
  .device {
    display: none;
  }
  nav {
    display: flex;
    margin: 9px 0 0;
    gap: 5px;
  }
  nav a {
    font-size: 13px;
    padding: 8px 10px;
    gap: 6px;
  }
  nav .ico {
    width: 16px;
    height: 16px;
  }
  main {
    padding: 14px 14px 35px;
  }
  .notice {
    font-size: 12px;
    padding: 8px 10px;
  }
  .heading {
    margin: 21px 0 14px;
    gap: 9px;
  }
  .heading .btn {
    font-size: 13px;
    padding: 8px 10px;
  }
  .heading .sub {
    font-size: 13px;
  }
  .hero {
    min-height: 224px;
  }
  .hero > div {
    padding: 19px;
    max-width: 95%;
  }
  .hero img {
    object-position: 64% center;
  }
  .hero:after {
    background: linear-gradient(
      0deg,
      #142e22eb,
      rgba(21, 45, 31, 0.65) 45%,
      rgba(21, 45, 31, 0.06)
    );
  }
  .hero h2 {
    font-size: 36px;
  }
  .hero .meta {
    font-size: 13px;
  }
  .fleetbar {
    margin: 9px 0 18px;
    gap: 3px;
  }
  .fleetbar select {
    max-width: 165px;
  }
  .fleetbar .linkbtn {
    font-size: 13px;
  }
  .paneltop {
    padding: 14px;
  }
  .sectionhead h2 {
    font-size: 26px;
  }
  .sectionhead {
    gap: 6px;
  }
  .sectionhead .btn {
    padding: 7px 9px;
  }
  .item {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 9px;
  }
  .tile {
    width: 32px;
    height: 36px;
  }
  .item .actions {
    grid-column: 2/4;
    justify-content: flex-start;
  }
  .item .actions .iconbtn {
    margin-left: auto;
  }
  .controls {
    gap: 7px;
  }
  .footnote {
    align-items: flex-start;
  }
  .copy .ico {
    width: 16px;
  }
  .data-card {
    padding: 16px;
  }
}
@media (max-width: 380px) {
  nav a {
    padding: 8px 6px;
  }
  .heading {
    align-items: flex-start;
  }
  .fleetbar label {
    flex-wrap: wrap;
  }
  .hero h2 {
    font-size: 31px;
  }
}
