.v682-import-panel {
  margin: 15px 0;
}
.v682-import-step {
  display:flex;
  align-items:center;
  gap:13px;
  flex-wrap:wrap;
}
.v682-import-step > div {
  flex:1;
  min-width:220px;
}
.v682-import-step b {
  color:var(--gold2);
  font-size:14px;
}
.v682-import-step p {
  color:var(--muted);
  font-size:11px;
  line-height:1.8;
  margin:5px 0 0;
}
.v682-step-number {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#dcb44a22;
  border:1px solid var(--line);
  color:var(--gold2);
  font-weight:bold;
}
.v682-divider {
  border-top:1px solid var(--line);
  margin:20px 0;
}
.v682-file-area {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:15px;
}
.v682-file-area input {
  flex:1;
  min-width:220px;
  max-width:100%;
  padding:10px;
  border:1px dashed var(--line);
  border-radius:10px;
}
.v682-import-status {
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:11px;
  padding:12px;
  color:var(--muted);
  font-size:11px;
  line-height:1.8;
}
.v682-import-stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:12px 0 18px;
}
.v682-import-stats > div {
  padding:13px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#10291c;
}
.v682-import-stats small {
  display:block;
  color:var(--muted);
  font-size:10px;
}
.v682-import-stats b {
  display:block;
  color:var(--gold2);
  font-size:22px;
  margin-top:6px;
}
.v682-result-box,.v682-warning-box {
  padding:13px 16px;
  border-radius:12px;
  margin:12px 0;
  line-height:1.9;
  font-size:11px;
}
.v682-result-box {
  color:#ffb7b7;
  background:#8b25251b;
  border:1px solid #ba555566;
}
.v682-warning-box {
  color:#f6d993;
  background:#87651a20;
  border:1px solid #c89c3d77;
}
.v682-result-box h4,.v682-warning-box h4 {
  margin:0 0 8px;
}
.v682-result-box ul,.v682-warning-box ul {
  margin:0;
  padding-inline-start:22px;
}
.v682-preview-table {
  margin-top:15px;
}
.v682-preview-table table {
  min-width:1050px;
}
.v682-preview-table td {
  white-space:normal;
  max-width:240px;
  overflow-wrap:anywhere;
}
.v682-preview-table .v682-row-error td {
  background:#7d29291d;
}
.v682-preview-table .v682-row-warning td {
  background:#8a691b17;
}
.v682-ack {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:15px;
  color:var(--muted);
  font-size:11px;
}
.v682-ack input {
  width:18px;
  height:18px;
  accent-color:#c69a3e;
}
.v682-commit-area {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.v682-commit-area span {
  color:var(--muted);
  font-size:11px;
}
.v682-commit-area button:disabled {
  opacity:.45;
  cursor:not-allowed;
}
body.ibdaa-theme-light .v682-import-stats > div {
  background:#f3f7f3;
  border-color:#d8e5da;
}
body.ibdaa-theme-light .v682-import-stats small,
body.ibdaa-theme-light .v682-import-status,
body.ibdaa-theme-light .v682-ack,
body.ibdaa-theme-light .v682-commit-area span {
  color:#56675d;
}
body.ibdaa-theme-light .v682-import-stats b,
body.ibdaa-theme-light .v682-import-step b {
  color:#17633e;
}
body.ibdaa-theme-light .v682-import-step p {
  color:#647369;
}
body.ibdaa-theme-light .v682-file-area input {
  background:#fff;
  color:#26372d;
  border-color:#d2ded5;
}
body.ibdaa-theme-light .v682-result-box {
  color:#8b2525;
  background:#fff3f2;
}
body.ibdaa-theme-light .v682-warning-box {
  color:#79540e;
  background:#fff8e8;
}
@media(max-width:650px) {
  .v682-import-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v682-import-step > div { min-width:0; }
  .v682-file-area { align-items:stretch; }
  .v682-file-area button { width:100%; }
  .v682-commit-area button { width:100%; }
}
