﻿:root {
  --canvas: #ece8df;
  --screen: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #f3f6f5;
  --ink: #17202a;
  --muted: #607080;
  --subtle: #8b98a6;
  --line: #d9dedc;
  --line-strong: #c5d0cc;
  --blue: #225cb3;
  --blue-soft: #eaf1fb;
  --teal: #227c6f;
  --teal-soft: #e5f3ef;
  --amber: #b36d18;
  --amber-soft: #fbf0dc;
  --red: #b84242;
  --red-soft: #f8e7e5;
  --plum: #6653a6;
  --plum-soft: #eeeaf8;
  --brown: #7a5b3f;
  --brown-soft: #f2ece2;
  --shadow: 0 12px 34px rgba(35, 46, 55, 0.08);
  --shadow-soft: 0 6px 18px rgba(35, 46, 55, 0.06);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

#app {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 0;
}

.pad-shell {
  width: 800px;
  min-height: 1280px;
  background: var(--screen);
  box-shadow: 0 18px 70px rgba(38, 47, 56, 0.16);
  overflow: hidden;
  position: relative;
}

.top-bar {
  height: 78px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  font-size: 22px;
  font-weight: 760;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle,
.top-date {
  color: var(--muted);
  font-size: 13px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.connect-badge {
  min-width: 104px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.connect-badge.online {
  color: var(--teal);
  background: var(--teal-soft);
  border-color: #b8d9d2;
}

.clock {
  text-align: right;
}

.clock-time {
  font-size: 28px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

.screen {
  padding: 28px 36px 34px;
}

.screen.compact {
  padding-top: 22px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.title-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eyebrow {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.page-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 820;
}

.page-subtitle {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
  min-height: 288px;
  box-shadow: var(--shadow-soft);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.hero-visual {
  background: #f3f0e7;
  border: 1px solid #ded6c7;
  border-radius: var(--radius);
  min-height: 270px;
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.terminal-illustration {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 16px;
}

.machine {
  border: 2px solid #9fb2c9;
  background: #f8fafb;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.machine-screen {
  height: 108px;
  background: #102238;
  border-radius: 6px;
  padding: 14px;
  color: #d7f0ff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.machine-line {
  height: 8px;
  width: 74%;
  border-radius: 4px;
  background: #67b6e9;
}

.machine-line.short {
  width: 44%;
}

.machine-slot {
  height: 82px;
  border: 1px solid #c7d3df;
  border-radius: 8px;
  background: #e8eef2;
  position: relative;
}

.machine-slot::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 24px;
  height: 34px;
  border-radius: 18px;
  background: #223448;
}

.user-card {
  border: 1px solid #d8d2c5;
  background: #ffffff;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-plain {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.large-number {
  font-size: 58px;
  line-height: 1;
  font-weight: 840;
  font-variant-numeric: tabular-nums;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.hero-title {
  font-size: 42px;
  line-height: 1.16;
  margin: 0;
  font-weight: 840;
}

.hero-desc {
  margin: 0;
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-chip,
.service-chip,
.tag,
.status-chip {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.metric-chip {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.metric-chip strong {
  display: block;
  font-size: 18px;
}

.metric-chip span {
  color: var(--muted);
  font-size: 13px;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.icon-teal {
  color: var(--teal);
  background: var(--teal-soft);
}

.icon-amber {
  color: var(--amber);
  background: var(--amber-soft);
}

.icon-red {
  color: var(--red);
  background: var(--red-soft);
}

.icon-plum {
  color: var(--plum);
  background: var(--plum-soft);
}

.icon-brown {
  color: var(--brown);
  background: var(--brown-soft);
}

