* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #1d2633;
  background: #f4f6fa;
}

.sidebar {
  width: 240px;
  background: #182230;
  color: #fff;
  padding: 24px 18px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 4px;
  color: #aab5c5;
  font-size: 12px;
}

nav {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

nav a {
  color: #c9d4e5;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 6px;
}

nav a.active,
nav a:hover {
  color: #fff;
  background: #2563eb;
}

main {
  flex: 1;
  padding: 28px;
  overflow: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
}

.topbar p {
  margin-top: 8px;
  color: #667085;
}

button {
  border: 0;
  color: #fff;
  background: #2563eb;
  border-radius: 6px;
  padding: 11px 18px;
  font-size: 14px;
}

button.light {
  color: #2563eb;
  background: #e8eefc;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.metrics div,
.panel {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  padding: 18px;
}

.metrics span {
  display: block;
  color: #667085;
  font-size: 13px;
}

.metrics strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
}

.ok {
  color: #16a34a;
}

.panel {
  margin-bottom: 16px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.actions {
  display: flex;
  gap: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid #edf0f5;
}

th {
  color: #667085;
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475467;
}

.tag.warn {
  color: #b45309;
  background: #fff3d8;
}

.grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.upload-box {
  margin-top: 14px;
  border: 1px dashed #9aa7ba;
  border-radius: 8px;
  height: 150px;
  display: grid;
  place-items: center;
  color: #667085;
  background: #fafcff;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumbs span {
  display: block;
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #dbeafe, #fef3c7);
}

.steps {
  margin: 16px 0 0;
  padding-left: 20px;
  line-height: 2.1;
}

.steps .done {
  color: #16a34a;
}

.steps .current {
  color: #2563eb;
  font-weight: 700;
}

.settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

label {
  color: #667085;
  font-size: 13px;
}

input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  color: #1d2633;
  background: #f9fafb;
}
