:root {
  color-scheme: dark;
  --bg: #101318;
  --nav: #12161d;
  --card: #191e26;
  --card2: #1c222b;
  --line: #2b323d;
  --ink: #f3f5fa;
  --sub: #a2adbd;
  --muted: #788698;
  --blue: #94bcff;
  --green: #63d6aa;
  --amber: #edbe70;
  --red: #fd9090;
  --purple: #baa4ed;
  --radius: 14px;
  --sidebar: 320px;
  font-family: Inter, 'Segoe UI', 'Microsoft YaHei UI', 'PingFang SC', system-ui, sans-serif;
  font-size: 28px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.54;
  cursor: wait;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
.skiplink {
  position: absolute;
  top: -60px;
  left: 8px;
  z-index: 100;
  padding: 8px;
  background: #192c48;
}
.skiplink:focus {
  top: 8px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
}
.boot,
.loading,
.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--sub);
}
.boot {
  height: 100vh;
}
.loading {
  padding: 65px 20px;
}
.loading:before {
  content: '';
  width: 36px;
  height: 36px;
  border: 4px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.empty {
  flex-direction: column;
  text-align: center;
  padding: 32px 14px;
  font-size: 26px;
  min-height: 115px;
}
.empty svg {
  color: #7791b0;
}
.empty strong {
  font-weight: 550;
}
.empty span {
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.red {
  color: var(--red);
}
.amber {
  color: var(--amber);
}
.green {
  color: var(--green);
}
.mono,
.num,
.code,
td {
  font-variant-numeric: tabular-nums;
}
.code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  letter-spacing: 0.01em;
}
.strong {
  font-weight: 650;
}
.skip {
  white-space: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none !important;
}
.brand img {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-text b {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0.025em;
}
.brand-text small {
  font-size: 20px;
  letter-spacing: 0.13em;
  color: var(--sub);
}
.side {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: var(--nav);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 20;
  padding: 20px 14px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.side .brand {
  margin: 0 8px 18px;
}
.nav-label {
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #7c8a9d;
  margin: 13px 14px 9px;
  font-weight: 600;
}
.navitem {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #aab5c4;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  margin-bottom: 3px;
  font-weight: 500;
  font-size: 28px;
}
.navitem:hover {
  background: #1b212b;
  color: white;
  text-decoration: none;
}
.navitem.on {
  background: #223047;
  color: #b2cfff;
  border-color: #31435d;
}
.navitem.on:after {
  content: '';
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #91b9ff;
}
.sidefoot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 16px 9px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.loc-icon {
  height: 68px;
  width: 68px;
  display: grid;
  place-items: center;
  border: 1px solid #343c46;
  border-radius: 10px;
  color: #acb9cc;
}
.sidefoot b,
.sidefoot small {
  display: block;
}
.sidefoot b {
  font-size: 24px;
  font-weight: 550;
}
.sidefoot small {
  color: var(--muted);
  font-size: 21px;
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.sidefoot .dot-online {
  margin-left: auto;
}
.dot-online {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--green);
  border-radius: 50%;
}
.stage {
  margin-left: var(--sidebar);
  min-width: 0;
}
.topbar {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px clamp(15px, 2vw, 32px);
  background: #12161cf5;
  position: sticky;
  top: 0;
  z-index: 12;
}
.crumb {
  color: #98a5b6;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.crumb strong {
  font-weight: 500;
  color: #d4dce7;
}
.toptools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-search {
  background: #1a2028;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #99a5b5;
  width: auto;
  min-height: 58px;
  text-align: left;
  font-size: 24px;
}
.top-search kbd {
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid #36404d;
  color: #8e9aad;
}
.iconbtn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--sub);
  padding: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  min-width: 66px;
  min-height: 66px;
}
.iconbtn:hover {
  background: #2b3441;
  color: var(--ink);
}
.profile {
  padding: 0 0 0 12px;
  border: none;
  border-left: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd4e0;
  font-size: 24px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #405474;
  border-radius: 50%;
  background: #293b56;
  color: #b6d1ff;
}
.mobile-menu,
.scrim {
  display: none;
}
.main {
  max-width: 2100px;
  margin: auto;
  padding: 30px clamp(18px, 2vw, 36px) 54px;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px 24px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}
.pagehead h1 {
  font-size: clamp(50px, 4.5vw, 70px);
  font-weight: 670;
  line-height: 1.27;
  letter-spacing: -0.045em;
}
.pagehead p {
  font-size: 26px;
  color: var(--sub);
  margin-top: 7px;
  line-height: 1.6;
}
.head-actions,
.buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.datechip,
.envchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 7px;
  color: #adb9c8;
  font-size: 24px;
  border: 1px solid var(--line);
}
.envchip {
  padding: 3px 7px;
  color: var(--amber);
  border-color: #554731;
  font-size: 20px;
  white-space: nowrap;
}
.btn,
.btnlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 35px;
  padding: 7px 12px;
  border: 1px solid #384250;
  border-radius: 7px;
  background: #242c37;
  color: #e0e6ed;
  font-size: 26px;
  font-weight: 500;
  text-decoration: none !important;
}
.btn:hover,
.btnlink:hover {
  background: #303b49;
  border-color: #4e5e72;
}
.btn.primary,
.btnlink.primary {
  background: #91baff;
  border-color: #91baff;
  color: #10223b;
  font-weight: 650;
}
.btn.primary:hover {
  background: #abcaff;
}
.btn.danger {
  background: #432a30;
  border-color: #644048;
  color: #ffafaf;
}
.btn.text,
.btnlink.text {
  background: transparent;
  border: 0;
  color: var(--blue);
  padding: 4px;
  min-height: 29px;
}
.btn.small {
  font-size: 24px;
  min-height: 29px;
  padding: 4px 8px;
}
.btn.icon {
  padding: 6px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
}
.panelhd {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 19px 21px 14px;
}
.panelhd h2,
.panelhd h3,
.sectiontitle {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 32px;
  font-weight: 630;
  letter-spacing: -0.02em;
}
.panelhd h2 svg,
.sectiontitle svg {
  color: #94a7c2;
}
.panelhd a {
  font-size: 24px;
}
.panelbody {
  padding: 0 21px 20px;
}
.dash-top,
.dash-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.dash-bottom {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.fleet {
  position: relative;
  background: linear-gradient(115deg, #1b2a40 0%, #1b2739 57%, #192331 100%);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 248px;
}
.fleet .panelhd {
  padding-bottom: 8px;
}
.fleetimg {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  height: 78%;
  width: 57%;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(to right, transparent 0%, #000 29%);
  opacity: 0.9;
}
.fleet .panelhd h2 {
  z-index: 1;
}
.fleet .numblock {
  padding: 2px 22px 16px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.num {
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-weight: 620;
  letter-spacing: -0.045em;
  font-size: 72px;
  line-height: 1.12;
}
.numblock .num {
  font-size: 108px;
  line-height: 1.08;
}
.unit {
  color: #a8b6c7;
  font-size: 24px;
}
.fleet-status {
  margin: auto 20px 17px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px 0 0;
  border-top: 1px solid #364254;
}
.fleet-status a {
  color: var(--ink);
  padding-left: 16px;
  border-left: 1px solid #3a4354;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fleet-status a:first-child {
  padding-left: 0;
  border-left: 0;
}
.slabel {
  color: #b8c3d3;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
}
.slabel i,
.legend i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
}
.slabel i.idle {
  background: var(--green);
}
.slabel i.maint {
  background: var(--amber);
}
.fleet-status b {
  font-size: 44px;
  font-weight: 600;
}
.reserve-note {
  font-size: 22px;
  color: #c3d1e4;
  padding-left: 22px;
  margin-top: -8px;
  margin-bottom: 12px;
}
.capacity .panelhd {
  padding-bottom: 13px;
}
.capacity-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.capacity-line strong {
  font:
    620 72px/1.05 Inter,
    'Segoe UI',
    sans-serif;
  letter-spacing: -0.05em;
}
.segment {
  height: 6px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  background: #303946;
  margin: 12px 0 14px;
}
.segment progress {
  width: 100%;
  height: 6px;
  border: none;
  appearance: none;
  background: transparent;
  color: var(--blue);
}
.segment progress::-webkit-progress-bar {
  background: #303946;
}
.segment progress::-webkit-progress-value {
  background: #8fb9ff;
  border-radius: 6px;
}
.segment progress::-moz-progress-bar {
  background: #8fb9ff;
  border-radius: 6px;
}
.pairrow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
}
.pairrow span {
  color: var(--sub);
  font-size: 24px;
}
.pairrow b {
  font-weight: 580;
  font-size: 28px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  color: var(--ink);
  text-decoration: none !important;
}
.metric:hover {
  border-color: #52617a;
}
.tileicon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #25354d;
  color: var(--blue);
}
.tileicon.amber {
  background: #393326;
  color: var(--amber);
}
.tileicon.green {
  background: #213b36;
  color: var(--green);
}
.tileicon.purple {
  background: #332f44;
  color: var(--purple);
}
.metric small {
  display: block;
  color: var(--sub);
  font-size: 24px;
}
.metric strong {
  display: block;
  font:
    620 50px/1.25 Inter,
    'Segoe UI',
    sans-serif;
  margin-top: 2px;
}
.todo-list {
  padding: 0 20px 9px;
}
.todo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  min-height: 65px;
  color: var(--ink);
  font-size: 26px;
  text-decoration: none !important;
}
.todo-row:hover .todo-name {
  text-decoration: underline;
}
.todo-icon {
  color: var(--sub);
}
.todo-icon.due {
  color: var(--amber);
}
.todo-icon.overdue {
  color: var(--red);
}
.todo-row strong {
  margin-left: auto;
  min-width: 21px;
  text-align: center;
  font-size: 26px;
}
.todo-row > svg {
  color: var(--muted);
}
.quickgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0 18px 17px;
}
.quick {
  display: flex;
  gap: 9px;
  align-items: center;
  text-align: left;
  background: #202630;
  border: 1px solid #303947;
  border-radius: 8px;
  min-height: 94px;
  padding: 10px;
  font-size: 26px;
}
.quick svg {
  color: #9cbae6;
}
.quick:hover {
  background: #283241;
  border-color: #49617c;
}
:root {
  --form: #151a21;
}
.listtools,
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.listtools {
  padding: 16px 19px;
  border-bottom: 1px solid var(--line);
}
.listtools .right {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.find {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--form);
  color: var(--muted);
  border-radius: 7px;
  padding: 0 9px;
}
.find input {
  background: none;
  border: none;
  color: var(--ink);
  width: min(295px, 100%);
  min-width: 0;
  min-height: 34px;
}
.find input:focus {
  outline: 0;
}
.find:focus-within {
  outline: 2px solid var(--blue);
}
select,
input:not([type='checkbox']):not([type='radio']),
textarea {
  color: var(--ink);
}
.listtools select,
.filters select,
.filters input {
  background: var(--form);
  border: 1px solid var(--line);
  padding: 7px 9px;
  border-radius: 7px;
  min-height: 35px;
  font-size: 26px;
}
.switch {
  display: flex;
  background: var(--form);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px;
}
.switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 4px 6px;
  display: grid;
  place-items: center;
  border-radius: 5px;
}
.switch button.on {
  background: #323d4c;
  color: var(--ink);
}
.tablewrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 26px;
}
th {
  font-weight: 500;
  color: var(--sub);
  background: #171c23;
  white-space: nowrap;
}
th,
td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th:first-child,
td:first-child {
  padding-left: 20px;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #1d232c;
}
.tag,
.pkg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #2a323e;
  border: 1px solid #3b4452;
  border-radius: 20px;
  padding: 3px 8px;
  white-space: nowrap;
  color: #b8c3d1;
  font-size: 22px;
  line-height: 1.45;
}
.tag i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}
.tag.idle,
.tag.completed,
.tag.finished,
.tag.closed {
  color: #85dfb9;
  background: #20352d;
  border-color: #2b483a;
}
.tag.rented,
.tag.active {
  color: #a5c7ff;
  background: #24344b;
  border-color: #364a68;
}
.tag.maintenance,
.tag.pending,
.tag.reserved,
.tag.open {
  color: #edc387;
  background: #352e24;
  border-color: #4c3e2a;
}
.tag.expired {
  color: #f4a2a4;
  background: #3c292e;
  border-color: #53383f;
}
.pkg {
  border-radius: 5px;
  background: #263246;
  border-color: #374762;
  color: #bad2ff;
  font:
    600 22px/1.3 Inter,
    'Segoe UI',
    sans-serif;
}
.pkg.ultra {
  color: #d6c6ff;
  background: #342d45;
  border-color: #4c405f;
}
.countsmall {
  color: var(--muted);
  font-size: 24px;
}
.sectiongap {
  margin-top: 17px;
}
.assetgrid {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 13px;
}
.assetcard {
  min-width: 0;
  border: 1px solid #35404d;
  border-radius: 10px;
  background: #1d252f;
  overflow: hidden;
}
.assetcard .assetart {
  height: 118px;
  background: #1a2431;
  display: block;
  position: relative;
  overflow: hidden;
}
.assetart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
}
.assetart .tag {
  position: absolute;
  right: 9px;
  top: 9px;
}
.assetinfo {
  padding: 12px 13px;
}
.assetinfo h3 {
  font-size: 32px;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
}
.assetinfo .conf {
  color: var(--sub);
  font-size: 24px;
}
.assetinfo dl {
  margin: 10px 0;
}
.assetinfo dl div {
  display: flex;
  justify-content: space-between;
  font-size: 24px;
  gap: 9px;
  padding: 4px 0;
}
.assetinfo dt {
  color: var(--muted);
}
.assetinfo dd {
  margin: 0;
}
.assetinfo .buttons {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.tabs a,
.tabs button {
  color: #a9b6c7;
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 26px;
}
.tabs .on {
  color: #b7d2ff;
  background: #253752;
  border-color: #374b67;
}
.detailgrid,
.settingsgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.kvlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 2px 0 0;
}
.kvlist dt {
  color: var(--sub);
  font-size: 24px;
  margin-bottom: 5px;
}
.kvlist dd {
  margin: 0;
  font-size: 28px;
  overflow-wrap: anywhere;
}
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 24px;
  color: var(--sub);
  margin-bottom: 13px;
}
.hist {
  border-top: 1px solid var(--line);
}
.hist summary {
  padding: 14px 20px;
  font-weight: 550;
  cursor: pointer;
}
.hist .empty {
  min-height: 80px;
  padding: 15px;
}
.credline {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 9px 0;
  min-height: 72px;
}
.credline:first-child {
  border: 0;
}
.credline .clabel {
  font-size: 24px;
  color: var(--sub);
  min-width: 83px;
}
.credline .cvalue {
  overflow-wrap: anywhere;
  word-break: break-all;
  font-family: Consolas, monospace;
  font-size: 26px;
}
.credline .ctools {
  display: flex;
  gap: 3px;
  margin-left: auto;
}
.boxcopy {
  color: var(--sub);
  font-size: 26px;
  line-height: 1.7;
  margin: 0 0 13px;
}
.settingsgrid .field {
  margin-bottom: 13px;
}
.stack {
  display: grid;
  gap: 16px;
}
.errorbox {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: #332328;
  border: 1px solid #56333e;
  padding: 14px 16px;
  border-radius: 9px;
  color: #ffb1b5;
  font-size: 26px;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #080c12bd;
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  padding: 18px;
  z-index: 40;
}
.overlay + .overlay {
  z-index: 44;
}
.dialog {
  display: flex;
  flex-direction: column;
  width: min(100%, 740px);
  min-width: 0;
  max-height: 88vh;
  max-height: 88dvh;
  border: 1px solid #3a4453;
  background: #1b212a;
  border-radius: 14px;
  box-shadow: 0 24px 80px #0007;
  overflow: hidden;
}
.dialog.wide {
  width: min(100%, 1200px);
}
.dialoghd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
}
.dialoghd h2 {
  font-size: 36px;
}
.dialogbody {
  padding: 19px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.dialogfoot {
  padding: 14px 19px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.formgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
}
.formrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  font-size: 26px;
  color: #c1ccda;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  background: var(--form);
  border: 1px solid #3a4450;
  border-radius: 7px;
  padding: 9px 11px;
  color: var(--ink);
  min-height: 39px;
}
.field textarea {
  resize: vertical;
}
.number-options > summary {
  cursor: pointer;
  color: var(--sub);
}
.number-options[open] > summary {
  margin-bottom: 10px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 26px;
  line-height: 1.6;
  color: #c4ceda;
}
.check input {
  accent-color: #91baff;
  margin-top: 4px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.notice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid #344862;
  background: #223046;
  color: #bfcee2;
  font-size: 24px;
  line-height: 1.65;
  padding: 9px 11px;
  border-radius: 7px;
}
.notice svg {
  margin-top: 2px;
}
.notice.warn {
  border-color: #5c4b36;
  background: #342e25;
  color: #ebcfaa;
}
.formerror {
  color: #ffb2b2;
  font-size: 26px;
  line-height: 1.6;
}
.formerror:empty {
  display: none;
}
.searchitems {
  margin-top: 10px;
}
.searchitem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 6px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.searchitem > svg:first-child {
  color: var(--sub);
}
.searchitem small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.searchitem > svg:last-child {
  margin-left: auto;
}
.searchbox input {
  font-size: 30px;
}
#toasts {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 55;
  display: grid;
  gap: 6px;
  max-width: min(370px, calc(100vw - 32px));
}
.toast {
  background: #22332f;
  border: 1px solid #3c6050;
  padding: 12px 15px;
  border-radius: 9px;
  color: #d4f2e2;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 26px #0004;
}
.toast.bad {
  background: #37282d;
  color: #ffb4b9;
  border-color: #69434b;
}
.auth {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 1.12fr) minmax(390px, 1fr);
}
.auth-art {
  background: linear-gradient(147deg, #151e2a, #202e43 61%, #152236);
  overflow: hidden;
  position: relative;
  border-right: 1px solid #334158;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 80px);
  isolation: isolate;
}
.auth-art .brand {
  width: max-content;
}
.auth-copy {
  margin-top: auto;
  padding-top: 90px;
  z-index: 1;
}
.auth-copy h1 {
  font-size: clamp(64px, 8vw, 118px);
  line-height: 1.14;
  letter-spacing: -0.055em;
}
.auth-copy p {
  color: #c0cfe0;
  margin-top: 14px;
  font-size: 30px;
  line-height: 1.7;
}
.auth-art > img {
  position: absolute;
  right: -7%;
  top: 19%;
  width: 103%;
  height: 52%;
  object-fit: cover;
  z-index: -1;
  mask-image: linear-gradient(transparent, #000 15%, #000 75%, transparent);
  opacity: 0.9;
}
.auth-art .auth-loc {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a4b6ce;
  font-size: 24px;
  letter-spacing: 0.04em;
}
.authform {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.auth-inner {
  width: min(100%, 600px);
  min-width: 0;
}
.auth-inner h2 {
  font-size: 60px;
  letter-spacing: -0.045em;
  margin: 0 0 7px;
}
.auth-inner > p {
  color: var(--sub);
  font-size: 26px;
  line-height: 1.6;
  margin-bottom: 25px;
}
.auth-inner .btn.primary {
  width: 100%;
  min-height: 42px;
  margin-top: 3px;
}
.auth-inner .brand {
  display: none;
}
.auth-icon {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  border: 1px solid #354761;
  background: #223047;
  color: #a5c7ff;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.auth-inner .envchip {
  margin-bottom: 12px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.pagination span {
  margin-right: auto;
  font-size: 24px;
  color: var(--sub);
}
.clipboard-proxy {
  position: fixed;
  left: -10000px;
  top: 0;
}
.filters input {
  min-width: 0;
  max-width: 100%;
}
.top-search span,
.top-search kbd {
  white-space: nowrap;
}
.top-search kbd {
  font-family: Consolas, 'Segoe UI', sans-serif;
  font-size: 20px;
}
.top-search {
  flex-shrink: 0;
}

/* Text and pictograms are twice the V1.0 design sizes. The surrounding layout
   reflows independently so a larger control never needs browser zoom. */
.header-brand {
  display: none;
}
.side > *,
.dialoghd,
.dialogfoot,
.tileicon,
.avatar,
.loc-icon {
  flex-shrink: 0;
}
.brand-text,
.pagehead > *,
.notice > span,
.searchitem > span,
.metric > span,
.find {
  min-width: 0;
  overflow-wrap: anywhere;
}
.stage,
.listtools > *,
.btn,
.btnlink,
.formgrid,
.tablewrap,
.pagination {
  max-width: 100%;
}
.navitem {
  min-height: 62px;
}
.sidefoot {
  padding-top: 14px;
}
.sidefoot small,
.navitem,
.brand-text {
  line-height: 1.3;
}
.slabel i,
.tag i,
.dot-online {
  flex: none;
}
.uname {
  max-width: 7em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.authform,
.auth-art {
  min-width: 0;
}
.auth-art {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 690px;
  align-self: start;
  display: grid;
  grid-template-rows: auto minmax(100px, 1fr) auto;
  gap: 14px;
}
.auth-copy {
  margin-top: 0;
  padding-top: 0;
}
.auth-copy h1 {
  text-wrap: balance;
}
.auth-art > img {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.top-search {
  justify-content: center;
}
.check input {
  margin-top: 0.24em;
}
.btn,
.btnlink,
.field,
.boxcopy,
.formerror {
  overflow-wrap: anywhere;
}
.field input,
.field select,
.field textarea {
  max-width: 100%;
}
.listtools select,
.filters input,
.find {
  min-height: 52px;
}
.listtools select {
  max-width: 100%;
}
.dialoghd h2 {
  line-height: 1.25;
}
.record-identity {
  overflow-wrap: anywhere;
}
.tablewrap {
  container-type: inline-size;
}
th {
  white-space: normal;
}
td {
  overflow-wrap: anywhere;
}
.credline .cvalue {
  min-width: 0;
}
.head-actions {
  min-width: 0;
}
.find input,
.filters input {
  max-width: 100%;
}
.quick {
  line-height: 1.35;
}
.segment,
.segment progress {
  height: 10px;
}
.assetinfo dt {
  flex-shrink: 0;
}
.assetinfo dd,
.searchitem small,
.toast > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.fleet {
  min-height: 328px;
}
.fleet-status a {
  align-content: center;
}
.fleet-status a b {
  line-height: 1.2;
}
.dialogfoot button {
  white-space: normal;
}

/* Rows retain their column labels when a table shares a narrow panel or dialog. */
@container (max-width: 1099px) {
  table,
  tbody {
    display: block;
  }
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
  tbody tr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
    align-items: start;
    gap: 13px 24px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }
  tbody tr:last-child {
    border: 0;
  }
  td,
  td:first-child {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    line-height: 1.4;
  }
  td::before {
    display: block;
    content: attr(data-label);
    margin-bottom: 3px;
    color: var(--sub);
    font-size: 24px;
  }
}
@container (max-width: 480px) {
  tbody tr {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }
  td::before {
    display: inline;
    margin-right: 0.55em;
  }
}
@media (max-width: 1490px) {
  .crumbroot {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .detailgrid,
  .settingsgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1180px) {
  :root {
    --sidebar: min(350px, calc(100vw - 20px));
  }
  .side {
    visibility: hidden;
    transform: translateX(-100%);
  }
  .side.shown {
    visibility: visible;
    transform: none;
  }
  .scrim.shown {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    border: 0;
    z-index: 19;
  }
  .stage {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .header-brand {
    display: flex;
  }
  .crumb {
    display: none;
  }
  .dash-top {
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr);
  }
}
@media (max-width: 960px) {
  .top-search span,
  .top-search kbd,
  .profile .uname {
    display: none;
  }
  .top-search {
    min-width: 58px;
  }
  .toptools {
    gap: 5px;
  }
  .dash-bottom {
    grid-template-columns: minmax(0, 1fr);
  }
  .quickgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .auth {
    display: block;
  }
  .auth-art {
    display: none;
  }
  .authform {
    min-height: 100svh;
    padding: 25px;
  }
  .auth-inner .brand {
    display: flex;
    margin-bottom: 34px;
  }
  .auth-icon {
    display: none;
  }
}
@media (max-width: 760px) {
  .pagehead h1 {
    font-size: 52px;
  }
  .auth-inner h2 {
    font-size: 54px;
  }
  .datechip {
    font-size: 20px;
  }
  .dash-top,
  .dash-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .pagehead {
    align-items: flex-start;
  }
  .fleet-status a {
    padding-left: 8px;
    gap: 4px;
  }
  .listtools .right {
    margin-left: 0;
  }
  .authform {
    padding: 20px 16px;
  }
  .auth-inner .brand {
    margin-bottom: 24px;
  }
  .formrow {
    grid-template-columns: minmax(0, 1fr);
  }
  .panelhd {
    padding: 15px;
  }
  .panelbody {
    padding: 0 15px 15px;
  }
  .main {
    padding: 22px 14px 36px;
  }
}
@media (max-width: 590px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: 'menu brand brand' 'env tools tools';
    align-items: center;
    gap: 4px 10px;
    position: static;
    padding: 8px 12px;
  }
  .mobile-menu {
    grid-area: menu;
    justify-self: start;
  }
  .header-brand {
    grid-area: brand;
    justify-self: start;
  }
  .topbar .envchip {
    grid-area: env;
    justify-self: start;
  }
  .toptools {
    grid-area: tools;
    margin-left: 0;
    justify-self: end;
  }
  .profile {
    padding-left: 4px;
  }
  .metrics {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 216px), 1fr));
  }
  .metric {
    padding: 13px 15px;
  }
  .metric > span:last-child {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .quickgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick {
    align-items: center;
    text-align: center;
  }
  .fleet-status {
    margin: auto 15px 12px;
  }
  .fleet {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas: 'heading heading' 'amount picture' 'note note' 'states states';
    align-items: center;
    row-gap: 7px;
    min-height: 0;
  }
  .fleet .panelhd {
    grid-area: heading;
  }
  .fleetimg {
    grid-area: picture;
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .fleet .numblock {
    grid-area: amount;
    display: block;
    padding: 0 0 0 16px;
  }
  .fleet .unit {
    display: block;
  }
  .reserve-note {
    grid-area: note;
    padding: 0 16px;
    margin: 3px 0;
  }
  .fleet-status {
    grid-area: states;
  }
  .fleet-status a {
    display: grid;
    align-content: start;
  }
  .slabel {
    flex-wrap: wrap;
    gap: 4px;
  }
  .kvlist {
    grid-template-columns: minmax(0, 1fr);
  }
  .credline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 8px;
  }
  .credline .clabel {
    grid-column: 1/-1;
  }
  .credline .ctools {
    gap: 0;
  }
  .listtools .find {
    flex: 1 0 100%;
  }
  .filters input,
  .listtools select,
  .listtools .right {
    width: 100%;
  }
  .find input {
    flex: 1;
  }
  .dialog {
    max-height: calc(100dvh - 16px);
  }
  .overlay {
    padding: 8px;
  }
  .dialoghd,
  .dialogfoot,
  .dialogbody {
    padding: 12px;
  }
  .dialogfoot {
    gap: 6px;
  }
  .dialogfoot .btn {
    min-width: 0;
  }
  .assetgrid {
    padding: 10px;
  }
  .pagination span {
    flex-basis: 100%;
  }
}
@media (max-width: 560px) {
  .panelhd h2 {
    font-size: 30px;
  }
  .tabs a,
  .tabs button,
  .crumb {
    font-size: 24px;
  }
}
@media (max-width: 360px) {
  .header-brand {
    gap: 6px;
  }
  .header-brand .brand-text small {
    letter-spacing: 0;
  }
  .topbar {
    gap: 4px;
    padding-inline: 8px;
  }
  .fleet-status {
    grid-template-columns: minmax(0, 1fr);
  }
  .fleet-status a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: 0;
  }
  .quickgrid {
    padding: 0 10px 10px;
  }
  .todo-list {
    padding: 0 10px 8px;
  }
  .todo-row {
    gap: 6px;
  }
}
