.aimstr-wrap {
  max-width: 1100px;
}

.aimstr-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dcdcde;
}

.aimstr-header__icon {
  font-size: 36px;
  width: 36px;
  height: 36px;
  color: #2271b1;
  flex-shrink: 0;
}

.aimstr-header__title {
  margin: 0 0 2px !important;
  padding: 0 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
}

.aimstr-header__subtitle {
  margin: 0;
  color: #646970;
  font-size: 13px;
}

.aimstr-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.aimstr-stat {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.aimstr-stat__value {
  font-size: 22px;
  font-weight: 600;
  color: #2271b1;
  line-height: 1.2;
}

.aimstr-stat__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #646970;
  margin-top: 2px;
}

.aimstr-table {
  margin-top: 0;
}

.aimstr-table .column-id {
  width: 52px;
}

.aimstr-table .column-language {
  width: 160px;
}

.aimstr-table .column-actions {
  width: 180px;
}

.aimstr-site-id {
  display: inline-block;
  background: #f0f0f1;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  padding: 1px 7px;
  font-size: 12px;
  font-family: monospace;
  color: #1d2327;
}

.aimstr-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.aimstr-badge--primary {
  background: #dff0d8;
  color: #3c763d;
  border: 1px solid #c3e6cb;
}

.aimstr-lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  padding: 3px 8px;
  font-family: monospace;
  font-size: 12px;
  color: #1d2327;
}

.aimstr-lang-icon {
  font-size: 13px !important;
  width: 13px !important;
  height: 13px !important;
  color: #2271b1;
}

.aimstr-external-icon {
  font-size: 12px !important;
  width: 12px !important;
  height: 12px !important;
  vertical-align: middle;
  color: #646970;
  margin-left: 2px;
}

.aimstr-settings-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

.aimstr-settings-btn .dashicons {
  font-size: 14px !important;
  width: 14px !important;
  height: 14px !important;
}

.aimstr-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  color: #646970;
}

.aimstr-empty .dashicons {
  font-size: 48px;
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 12px;
  color: #c3c4c7;
}

.aimstr-footnote {
  margin-top: 10px;
  color: #646970;
  font-size: 12px;
}

.aimstr-section {
  margin-top: 40px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 24px;
}

.aimstr-translate-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.aimstr-translate-controls select {
  min-width: 300px;
}

.aimstr-progress-bar-wrap {
  background: #f0f0f0;
  border-radius: 4px;
  height: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.aimstr-progress-bar {
  background: #2271b1;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.aimstr-progress-label {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

.aimstr-progress-log {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  font-size: 12px;
  background: #fafafa;
}

.aimstr-log-entry {
  padding: 3px 0;
  border-bottom: 1px solid #f0f0f0;
}

.aimstr-log--success {
  color: #2e7d32;
}

.aimstr-log--error {
  color: #c62828;
}

.aimstr-mapping-controls {
  margin-bottom: 20px;
}

.aimstr-mapping-sites {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.aimstr-mapping-sites label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.aimstr-mapping-sites select {
  min-width: 220px;
}

.aimstr-mapping-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}